Uploaded image for project: 'Kafka'
  1. Kafka
  2. KAFKA-16945

Cleanup StreamsBuilder and TopologyConfig

Attach filesAttach ScreenshotAdd voteVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Open
    • Minor
    • Resolution: Unresolved
    • None
    • None
    • streams

    Description

      Historically, Kafka Streams offers two ways to build a topology: either via the PAPI by creating a `new Topology()` explicitly, or via the `StreamsBuilder` which returns a topology via `build()` method.

      We later added an overload `build(Properties)` to enable topology optimizations for the DSL layer.

      Furthermore, we also added `TopologyConfig` object, which can be passed into `new Topology(TopologyConfig)` as well as `StreamsBuilder(TopologyConfig)`.

      We should consider to unify the different approaches to simplify the rather complex API we have right now.

      Attachments

        Issue Links

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            Unassigned Unassigned
            mjsax Matthias J. Sax

            Dates

              Created:
              Updated:

              Slack

                Issue deployment