Skip to content

Commit

Permalink
Apply review
Browse files Browse the repository at this point in the history
  • Loading branch information
chickenchickenlove committed May 17, 2024
1 parent edcb826 commit d21e4c3
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions samples/sample-07/README.adoc
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
== Sample 7

This sample demonstrated the application of the new consumer rebalance protocol in Spring Kafka.
This sample demonstrates the application of the new consumer rebalance protocol in Spring for Apache Kafka.

The new consumer rebalance protocol refers to the Server Side rebalance protocol proposed in KIP-848.
The new consumer rebalance protocol refers to the Server Side rebalance protocol proposed in link:https://cwiki.apache.org/confluence/display/KAFKA/KIP-848%3A+The+Next+Generation+of+the+Consumer+Rebalance+Protocol[KIP-848].

`Spring Boot` starts the `Kafka Broker` container defined in the `compose.yaml` file upon startup.

Expand Down Expand Up @@ -31,7 +31,7 @@ The config of `group.protocol = conumser` should be added to `Consumer` configur

Next, the `Consumer` created by `@KafkaListener` will request a subscription to the `test-topic` from the `Broker`.

The `Broker` will then send the Topic Partition Assign information to the `Consumer`. That means the `Consumer` Rebalancing has finished and started to poll messages.
The `Broker` will then send the Topic Partition Assign information to the `Consumer`. This means that the `Consumer` rebalancing has finished, and the `Consumer` has started to poll messages.

```java
@Component
Expand Down

0 comments on commit d21e4c3

Please sign in to comment.