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

KStream builder should capture serdes

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 0.10.2.0, 0.10.2.1
    • None
    • streams

    Description

      Even if one specifies a serdes in `builder.stream`, later a call to `groupByKey` may require the serdes again if it differs from the configured streams app serdes. The preferred behavior is that if no serdes is provided to `groupByKey`, it should use whatever was provided in `builder.stream` and not what was in the app.

      From the current docs:
      “When to set explicit serdes: Variants of groupByKey exist to override the configured default serdes of your application, which you must do if the key and/or value types of the resulting KGroupedStream do not match the configured default serdes.”

      Attachments

        Activity

          People

            Unassigned Unassigned
            yevabyzek Yeva Byzek
            Votes:
            1 Vote for this issue
            Watchers:
            6 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: