Skip to content

How to dynamically choose output topics #692

Open
@Tobo7

Description

@Tobo7

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!

Metadata

Metadata

Assignees

No one assigned

    Labels

    featureNew feature or request

    Type

    No type

    Projects

    Status

    No status

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions