mgodave commented on a change in pull request #1845: Functions schema 
integration
URL: https://github.com/apache/incubator-pulsar/pull/1845#discussion_r193869863
 
 

 ##########
 File path: 
pulsar-functions/instance/src/main/java/org/apache/pulsar/functions/instance/JavaInstance.java
 ##########
 @@ -49,14 +54,11 @@ public JavaInstance(InstanceConfig config, Object 
userClassObject,
                  PulsarClient pulsarClient,
                  Source source) {
         // TODO: cache logger instances by functions?
-        Logger instanceLog = LoggerFactory.getLogger("function-" + 
config.getFunctionDetails().getName());
-
-        if (source instanceof PulsarSource) {
 
 Review comment:
   Look a little closer. it's now under handleMessage. We're building N 
consumers now and we need to set the appropriate Consumer in the context.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to