Kafka Utility¶
kafka.Kafka
is a command-line application that is executed using kafka-server-start
shell script.
Launching Kafka Server¶
main(
args: Array[String]): Unit
main
...FIXME
buildServer¶
buildServer(
props: Properties): Server
buildServer
creates a KafkaConfig (from the given Properties
).
buildServer
creates a Server based on process.roles configuration property:
- KafkaServer if empty
- KafkaRaftServer, otherwise