-
Notifications
You must be signed in to change notification settings - Fork 3.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Go Functions] publishfunc example is broken #9123
Comments
This corresponds to the line in batchBuilder := gi.context.instanceConf.funcDetails.Sink.ProducerSpec.BatchBuilder In my testing, it is |
@wolfstudy @sijie I believe it was just an issue of a missing nil check for non-sink functions, since the purpose of the code in the first place seems to check for a configured
|
Fixes apache#9123 Check for nil ProducerSpec first as in apache#9123 (cherry picked from commit 3b6fa26)
Describe the bug
If you attempt to run the publishfunc example (dispatching to alternate topics), your function will panic.
building/creating:
pulsar log:
To Reproduce
Compile the example exactly as it appears.
Expected behavior
"publish-topic" topic appears containing messages
The text was updated successfully, but these errors were encountered: