Skip to content
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

Implement the newOutputMessage (just like java) in the python context #23816

Open
szindel opened this issue Jan 6, 2025 · 3 comments
Open

Implement the newOutputMessage (just like java) in the python context #23816

szindel opened this issue Jan 6, 2025 · 3 comments

Comments

@szindel
Copy link

szindel commented Jan 6, 2025

Currently the python Context object only has the publish method as option to publish messages to another topic. However this is quite problematic when using sinks in combination with python pulsar functions. Sinks (often) need a schema for every record.

Java already has the newOutputMessage method, that has record schema as function argument. it would be great if this can be added to the python context class.

@BewareMyPower BewareMyPower transferred this issue from apache/pulsar-client-python Jan 6, 2025
@BewareMyPower
Copy link
Contributor

Currently the Python function code base is maintained in https://github.com/apache/pulsar/tree/master/pulsar-functions/instance/src/main/python, so move the issue here.

@szindel
Copy link
Author

szindel commented Jan 6, 2025

how do you mean move the issue? your link is the same repo right..

@BewareMyPower
Copy link
Contributor

This issue was opened at https://github.com/apache/pulsar-client-python/issues before and I moved it here

image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants