robobario commented on PR #20340:
URL: https://github.com/apache/kafka/pull/20340#issuecomment-3177658871

   For example, if I:
   
   1. edit `server.properties` to 
`share.coordinator.state.topic.replication.factor=3`
   2. run up the broker as per the quickstart:
      ```
      KAFKA_CLUSTER_ID="$(bin/kafka-storage.sh random-uuid)"
      bin/kafka-storage.sh format --standalone -t $KAFKA_CLUSTER_ID -c 
config/server.properties
      bin/kafka-server-start.sh config/server.properties
      ```
   3. `bin/kafka-features.sh --bootstrap-server localhost:9092 upgrade 
--feature share.version=1`
   4. `bin/kafka-topics.sh --create --topic my_topic --bootstrap-server 
localhost:9092`
   5. `bin/kafka-console-share-consumer.sh --bootstrap-server localhost:9092 
--topic quickstart-events`
   
   Now I will see logs in the server like:
   
   ```
   [2025-08-12 16:28:56,007] INFO Sent auto-creation request for 
Set(__share_group_state) to the active controller. 
(kafka.server.DefaultAutoTopicCreationManager)
   [2025-08-12 16:28:56,009] WARN Auto topic creation failed for 
__share_group_state with error 'INVALID_REPLICATION_FACTOR': Unable to 
replicate the partition 3 time(s): The target replication factor of 3 cannot be 
reached because only 1 broker(s) are registered. 
(kafka.server.DefaultAutoTopicCreationManager)
   ```


-- 
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: jira-unsubscr...@kafka.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to