Kafka-topics --topic foo --describe
(foo being the topic of interest)
kafka-configs to add a configuration
kafka-topics still works (I believe) for setting topic settings and a little easier to setup
(kt is an alias of mine for kafka-topics)
Topic: __consumer_offsets TopicId: ewO5P8mYRbSI6vdVzqvocg PartitionCount: 50 ReplicationFactor: 3 Configs: compression.type=producer,min.insync.replicas=2,cleanup.policy=compact,segment.bytes=104857600
Topic: __consumer_offsets Partition: 0 Leader: 3 Replicas: 3,4,1 Isr: 3,4,1
Topic: __consumer_offsets Partition: 1 Leader: 4 Replicas: 4,1,2 Isr: 4,1,2
Topic: __consumer_offsets Partition: 2 Leader: 1 Replicas: 1,2,3 Isr: 1,2,3
Topic: __consumer_offsets Partition: 3 Leader: 2 Replicas: 2,3,4 Isr: 2,3,4
Topic: __consumer_offsets Partition: 4 Leader: 3 Replicas: 3,1,2 Isr: 3,1,2
Topic: __consumer_offsets Partition: 5 Leader: 4 Replicas: 4,2,3 Isr: 4,2,3```