kafka-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Bill Bejeck (JIRA)" <j...@apache.org>
Subject [jira] [Created] (KAFKA-8666) Improve Documentation on usage of Materialized config object
Date Mon, 15 Jul 2019 16:53:00 GMT
Bill Bejeck created KAFKA-8666:
----------------------------------

             Summary: Improve Documentation on usage of Materialized config object
                 Key: KAFKA-8666
                 URL: https://issues.apache.org/jira/browse/KAFKA-8666
             Project: Kafka
          Issue Type: Improvement
          Components: documentation, streams
            Reporter: Bill Bejeck


When using the Materialized object if the user wants to name the statestore with
{code:java}
Materialized.as("MyStoreName"){code}
then subsequently provide the key and value serde the calls to do so must take the form of 
{code:java}
Materialized.as("MyStoreName").withKeySerde(keySerde).withValueSerde(valueSerde)
{code}
If users do the following 
{code:java}
Materialized.as("MyStoreName").with(keySerde, valueSerde)
{code}
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.



--
This message was sent by Atlassian JIRA
(v7.6.14#76016)

Mime
View raw message