2019-11-22 14:35:09 UTC - Fredrick P Eisele: I am developing gradle plugins for 
nifi and pulsar. The main gradle task for the nifi-gradle-plugin is to produce 
nar files from gradle. The main task for the pulsar-gradle-plugin is to run 
sink-connectors, source-connectors, functions as localrun processes. This makes 
debugging of these components from withing IDE (idea) simpler. As I develop 
these tasks I am finding small things in pulsar that get in the way. Let me 
give an example.
In 
<https://github.com/apache/pulsar/blob/branch-2.4/pulsar-functions/localrun/src/main/java/org/apache/pulsar/functions/LocalRunner.java#L456>
There is a call to System.getenv("PULSAR_HOME") rather than  
System.getProperty("PULSAR_HOME") . This makes it impossible to set PULSAR_HOME 
from within java, which is something I would like my plugin to be able to do.
----
2019-11-22 14:43:52 UTC - Alexandre DUVAL: Hi, WDYT to add slack integration 
for github on this chan or a dedicated one to overview the issues created or PR 
faster than emails?
----
2019-11-22 15:20:56 UTC - David Kjerrumgaard: Sounds like a great project. I 
would think you can make a simple request on GitHub for this use case as it is 
a simple fix.
----
2019-11-22 15:25:48 UTC - Raman Gupta: @xiaolong.ran Release notes appear to be 
missing? 
<https://github.com/apache/pulsar/blob/master/site2/website/release-notes.md>
----
2019-11-22 15:48:32 UTC - Fredrick P Eisele: Actually, it seems like the change 
was already made.
The offending method, and call, seems to have been moved to LocalRunner. I will 
reimplement LocalRunner in my plugin.
+1 : David Kjerrumgaard
----
2019-11-22 17:01:22 UTC - Addison Higham: yeah, I was planning to see if I 
could get it out in the next couple of days, but looking at the way you set it 
up, it is all just based on java properties, so IDK if we need to do anything 
on the broker side for certain. Do you know if BK supports client TLS @Sijie 
Guo?
----
2019-11-22 18:25:08 UTC - Sijie Guo: @xiaolong.ran you can not say a release is 
done unless it is approved by the PMC through the voting process.
----
2019-11-22 18:25:43 UTC - Sijie Guo: BK support TLS and Mutal TLS 
authentication.
----
2019-11-22 18:26:09 UTC - Sijie Guo: 
<http://bookkeeper.apache.org/docs/latest/security/tls/>
----
2019-11-22 18:29:32 UTC - Addison Higham: I mean does BK support talking to 
zookeeper that is authed using the new clientTLS features
----
2019-11-22 18:29:37 UTC - Addison Higham: and looking at the docs I am guessing 
now
----
2019-11-22 22:14:49 UTC - Fredrick P Eisele: I am running a custom LocalRunner 
under the control of Gradle. I am having a problem in 
SourceConfigUtils::validate()
When the jarClassLoader is used a `ClassNotFoundException` is expected which 
then results in using the narClassLoader which would succeed. But instead a  
`NoClassDefFoundError` is produced which is not caught and the narClassLoader 
is not used. I have done some noodling around and have found that the 
narClassLoader would have succeeded had it been used.
Any ideas about why this may be happening?
And what to do about it?
----
2019-11-22 22:16:29 UTC - Fredrick P Eisele: I made my own copy of 
SourceConfigUtils and added a catch clause for NoClassDefFoundError. That gives 
me a work around for now. I will open a ticket.
----

Reply via email to