lucliu1108 opened a new pull request, #22639:
URL: https://github.com/apache/kafka/pull/22639

   ## Summary
   Adds client-side logic to convert a Kafka Streams topology to wire format 
and stash it on `StreamsRebalanceData` at `StreamThread` startup.
   
   ## File changes
   - **`StreamsRebalanceData`**: three new fields `wireTopologyDescription`, 
`memberId`, `topologyPushRequired` with setters/getters and a unit test.
   - **`StreamsConfig`**: new client config `topology.description.push.enabled` 
(boolean, default `true`).
   - **`TopologyDescriptionConverter`**: new internal helper that converts 
`TopologyDescription` to 
`StreamsGroupTopologyDescriptionUpdateRequestData.TopologyDescription`, with 4 
unit tests covering multi-subtopology, branching, stateful processor + global 
store, and dynamic sink topic.
   - **`StreamThread.initStreamsRebalanceData`**: calls the converter at 
startup and stashes the result on `StreamsRebalanceData` when the config is 
enabled.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to