Fixed consumer groups pages.
This commit is contained in:
parent
4bd5f7d9da
commit
32a9af231f
2 changed files with 3 additions and 2 deletions
|
@ -96,4 +96,5 @@ services:
|
||||||
cub kafka-ready -b kafka1:29092 1 30 && \
|
cub kafka-ready -b kafka1:29092 1 30 && \
|
||||||
kafka-topics --create --topic second.users --partitions 3 --replication-factor 1 --if-not-exists --zookeeper zookeeper1:2181 && \
|
kafka-topics --create --topic second.users --partitions 3 --replication-factor 1 --if-not-exists --zookeeper zookeeper1:2181 && \
|
||||||
kafka-topics --create --topic second.messages --partitions 2 --replication-factor 1 --if-not-exists --zookeeper zookeeper1:2181 && \
|
kafka-topics --create --topic second.messages --partitions 2 --replication-factor 1 --if-not-exists --zookeeper zookeeper1:2181 && \
|
||||||
kafka-console-producer --broker-list kafka1:29092 -topic second.users < /data/message.json'"
|
kafka-console-producer --broker-list kafka1:29092 -topic second.users < /data/message.json & \
|
||||||
|
kafka-console-consumer --bootstrap-server kafka1:29092 --topic second.messages --from-beginning'"
|
||||||
|
|
|
@ -19,7 +19,7 @@ const updateConsumerGroupsList = (
|
||||||
return payload.reduce(
|
return payload.reduce(
|
||||||
(memo: ConsumerGroupsState, consumerGroup) => ({
|
(memo: ConsumerGroupsState, consumerGroup) => ({
|
||||||
...memo,
|
...memo,
|
||||||
byId: {
|
byID: {
|
||||||
...memo.byID,
|
...memo.byID,
|
||||||
[consumerGroup.consumerGroupId]: {
|
[consumerGroup.consumerGroupId]: {
|
||||||
...memo.byID[consumerGroup.consumerGroupId],
|
...memo.byID[consumerGroup.consumerGroupId],
|
||||||
|
|
Loading…
Add table
Reference in a new issue