* README update to document using Kafka without Zookeeper (KRaft)
Signed-off-by: Jesse Whitham <jesse.whitham@gmail.com>
* Do not auto-allocate broker id when in KRaft Mode
Signed-off-by: Jesse Whitham <jesse.whitham@gmail.com>
* Add warnings and errors for KRaft config in validate
- Others have good warnings/errors already from Kafka
Signed-off-by: Jesse Whitham <jesse.whitham@gmail.com>
* Add a KRaft initialize step when enabled
- Formats the storage directories to add metadata
- Generates a cluster id if not already set
Signed-off-by: Jesse Whitham <jesse.whitham@gmail.com>
* Edit KRaft setup to match implementation
Signed-off-by: Jesse Whitham <jesse.whitham@gmail.com>
* Add KAFKA_ENABLE_CRAFT to configuration options
Signed-off-by: Jesse Whitham <jesse.whitham@gmail.com>
* Move KRaft changes into new 3.1 setup
Signed-off-by: Jesse Whitham <jesse.whitham@gmail.com>
* Remove command now built into enabling KRaft
Signed-off-by: Jesse Whitham <jesse.whitham@gmail.com>
* Apply suggestions from code review
All look good - though still require changes to kafka-env.sh
Co-authored-by: Marcos Bjoerkelund <marcosbjorkelund@gmail.com>
Signed-off-by: Jesse Whitham <jesse.whitham@gmail.com>
* Fix the indentation issues and apply original suggestions to all versions
Signed-off-by: Jesse Whitham <jesse.whitham@gmail.com>
* Put in the required envs as suggested
Signed-off-by: Jesse Whitham <jesse.whitham@gmail.com>
* Put back cluster id output to info
- If its being generated we really should show it in logs as will be
required if anyone wants to join brokers to this cluster
Signed-off-by: Jesse Whitham <jesse.whitham@gmail.com>
Co-authored-by: Marcos Bjoerkelund <marcosbjorkelund@gmail.com>