You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@kafka.apache.org by "Levani Kokhreidze (JIRA)" <ji...@apache.org> on 2019/06/28 09:41:00 UTC

[jira] [Created] (KAFKA-8611) Make topic optional when using through() operations in DSL

Levani Kokhreidze created KAFKA-8611:
----------------------------------------

             Summary: Make topic optional when using through() operations in DSL
                 Key: KAFKA-8611
                 URL: https://issues.apache.org/jira/browse/KAFKA-8611
             Project: Kafka
          Issue Type: New Feature
          Components: streams
            Reporter: Levani Kokhreidze


When using DSL in Kafka Streams, data re-partition happens only when key-changing operation is followed by stateful operation. On the other hand, in DSL, stateful computation can happen using _transform()_ operation as well. Problem with this approach is that, even if any upstream operation was key-changing before calling _transform()_, no auto-repartition is triggered. If repartitioning is required, a call to _through(String)_ should be performed before _transform()_. With the current implementation, burden of managing and creating the topic falls on user and introduces extra complexity of managing Kafka Streams application.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)