severun

config/server.properties

Mar 13th, 2017
45
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.33 KB | None | 0 0
  1. # Broker.id is generated based on the kubernetes hostname suffix (kafka-N)
  2. # Advertised listener client is based on the node's hostname: server0
  3. # A Kubernetes NodePort service exposes the node's port (30092) to allow traffic from outside of the Kubernetes cluster
  4.  
  5. broker.id=0
  6. listener.security.protocol.map=CLIENT:PLAINTEXT,REPLICATION:PLAINTEXT,INTERNAL_PLAINTEXT:PLAINTEXT,INTERNAL_SASL:PLAINTEXT
  7. advertised.listeners=CLIENT://server0:30092,REPLICATION://kafka-0.kafka-broker.kafka.svc.cluster.local:30093,INTERNAL_PLAINTEXT://kafka-0.kafka-broker.kafka.svc.cluster.local:30094,INTERNAL_SASL://kafka-0.kafka-broker.kafka.svc.cluster.local:30095
  8. listeners=CLIENT://0.0.0.0:30092,REPLICATION://0.0.0.0:30093,INTERNAL_PLAINTEXT://172.31.100.3:30094,INTERNAL_SASL://172.31.100.3:30095
  9. inter.broker.listener.name=REPLICATION
  10.  
  11. zookeeper.connect=zookeeper-headless.zookeeper.svc.cluster.local:2181/kafka
  12. zookeeper.connection.timeout.ms=6000
  13.  
  14. auto.create.topics.enable=true
  15. delete.topic.enable=true
  16. num.network.threads=3
  17. num.io.threads=8
  18. socket.send.buffer.bytes=102400
  19. socket.receive.buffer.bytes=102400
  20. socket.request.max.bytes=104857600
  21. log.dirs=/opt/kafka/data/topics
  22. num.partitions=1
  23. num.recovery.threads.per.data.dir=1
  24. log.retention.hours=-1
  25. log.segment.bytes=1073741824
  26. log.retention.check.interval.ms=300000
  27. default.replication.factor=3
Advertisement
Add Comment
Please, Sign In to add comment