Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- kafka:
- # identifier for this application
- client_id: <%= "#{ENV['KAFKA_PREFIX'] || 'phobos'}#{ENV['HEROKU_APP_NAME']}-#{ENV['HEROKU_RELEASE_VERSION'] || 'v1'}" %>
- # timeout setting for connecting to brokers
- connect_timeout: 10
- # timeout setting for socket connections
- socket_timeout: 10
- # PEM encoded CA cert to use with an SSL connection (string)
- ssl_ca_cert: |
- <%= ENV['KAFKA_TRUSTED_CERT']&.gsub("\n", "\n ") %>
- # PEM encoded client cert to use with an SSL connection (string)
- # Must be used in combination with ssl_client_cert_key
- ssl_client_cert: |
- <%= ENV['KAFKA_CLIENT_CERT']&.gsub("\n", "\n ") %>
- # PEM encoded client cert key to use with an SSL connection (string)
- # Must be used in combination with ssl_client_cert
- ssl_client_cert_key: |
- <%= ENV['KAFKA_CLIENT_CERT_KEY']&.gsub("\n", "\n ") %>
- # list of brokers used to initialize the client ("port:protocol")
- seed_brokers: <%= (ENV['KAFKA_URL'] || 'localhost:9092').split(',') %>
Add Comment
Please, Sign In to add comment