You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[Bug] Go Pulsar functions recieves message from only one topic even when provided multiple input topics #19981
Publish message on both the topics, we could only see the function logs of recieved messages on the last topic mentioned (which is sourcetopic2 in the example above)
What did you expect to see?
Pulsar function should listen to all the topics mentioned
What did you see instead?
Pulsar function listens to only the last topic mentioned
Activity
jiangpengcheng commentedon Apr 3, 2023
As far as I know, the GO runtime hasn't yet supported multiple topics, below is the code:
We can see that when multiple topics are specified, the last one will overwrite the previous topics.
https://github.com/apache/pulsar/blob/master/pulsar-functions/runtime/src/main/java/org/apache/pulsar/functions/runtime/RuntimeUtils.java#L206-L210
It may take some time to support such a feature, but I will take a look
github-actions commentedon May 4, 2023
The issue had no activity for 30 days, mark with Stale label.