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

Improve Documentation on usage of Materialized config object

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: documentation, streams
    • Labels:

      Description

      When using the Materialized object if the user wants to name the statestore with

      Materialized.as("MyStoreName")

      then subsequently provide the key and value serde the calls to do so must take the form of 

      Materialized.as("MyStoreName").withKeySerde(keySerde).withValueSerde(valueSerde)
      

      If users do the following 

      Materialized.as("MyStoreName").with(keySerde, valueSerde)
      

      the Materialized instance created by the "as(storeName)" call is replaced by a new Materialized instance resulting from the "with(...)" call and any configuration on the first Materialized instance is lost.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                bbejeck Bill Bejeck
              • Votes:
                0 Vote for this issue
                Watchers:
                6 Start watching this issue

                Dates

                • Created:
                  Updated: