You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pulsar.apache.org by GitBox <gi...@apache.org> on 2019/08/01 06:35:51 UTC

[GitHub] [pulsar] cumtwwei opened a new issue #4864: pulsar-functions-local-runner(v2.4.0)

cumtwwei opened a new issue #4864: pulsar-functions-local-runner(v2.4.0)
URL: https://github.com/apache/pulsar/issues/4864
 
 
   I use pulsar-2.4.0, and try to debug functions in localrun mode with 'pulsar-functions-local-runner'.
   
   My code is just like: [https://github.com/jerrypeng/pulsar-functions-demos/tree/master/debugging](url)
   But when I run my code , it got errors like bellow:
   
   _[ERROR] 2019-08-01 14:29:33.107 [public/default/exclamation-0] JavaInstanceRunnable - [public/default/exclamation:0] Uncaught exception in Java Instance
   java.util.concurrent.CompletionException: org.apache.pulsar.client.api.PulsarClientException$IncompatibleSchemaException: Trying to subscribe with incompatible schema
   	at java.util.concurrent.CompletableFuture.encodeThrowable(CompletableFuture.java:292) ~[?:1.8.0_161]
   	at java.util.concurrent.CompletableFuture.completeThrowable(CompletableFuture.java:308) ~[?:1.8.0_161]
   	at java.util.concurrent.CompletableFuture.uniRun(CompletableFuture.java:700) ~[?:1.8.0_161]
   	at java.util.concurrent.CompletableFuture$UniRun.tryFire$$$capture(CompletableFuture.java:687) ~[?:1.8.0_161]
   	at java.util.concurrent.CompletableFuture$UniRun.tryFire(CompletableFuture.java) ~[?:1.8.0_161]
   	at java.util.concurrent.CompletableFuture.postComplete(CompletableFuture.java:474) ~[?:1.8.0_161]
   	at java.util.concurrent.CompletableFuture.completeExceptionally(CompletableFuture.java:1977) ~[?:1.8.0_161]
   	at org.apache.pulsar.client.impl.ClientCnx.handleError(ClientCnx.java:597) ~[pulsar-functions-local-runner-2.4.0.jar:2.4.0]
   	at org.apache.pulsar.common.protocol.PulsarDecoder.channelRead(PulsarDecoder.java:154) ~[pulsar-functions-local-runner-2.4.0.jar:2.4.0]_
   
   I alse see a issue at [https://github.com/apache/pulsar/issues/4857](url), and I set my pulsar-2.4.0 with Sijie's suggestion, but the error also came.
   Finally,  I chang my pulsar's version to 2.3.1, use the same code, but it's all right, no error come.
   So, I think is it a bug in pulsar-2.4.0?
   Thanks a lot.

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


With regards,
Apache Git Services