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

How to dynamically choose output topics #692

Open
Tobo7 opened this issue Dec 17, 2024 · 0 comments
Open

How to dynamically choose output topics #692

Tobo7 opened this issue Dec 17, 2024 · 0 comments

Comments

@Tobo7
Copy link

Tobo7 commented Dec 17, 2024

Is it possible to dynamically set output topic of StreamingDataFrame pipeline? I need the output topic name to be derived from message content.

Something like this: sdf.to_topic(lambda value: str(value["target_topic"]))

Native Kafka streams API supports it and its the last thing that keeps me away from using this library. https://developer.confluent.io/confluent-tutorials/dynamic-output-topic/kstreams/

Thank you!

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

1 participant