Guest User

Untitled

a guest
Jan 22nd, 2018
78
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.97 KB | None | 0 0
  1. kafka:
  2. # identifier for this application
  3. client_id: <%= "#{ENV['KAFKA_PREFIX'] || 'phobos'}#{ENV['HEROKU_APP_NAME']}-#{ENV['HEROKU_RELEASE_VERSION'] || 'v1'}" %>
  4. # timeout setting for connecting to brokers
  5. connect_timeout: 10
  6. # timeout setting for socket connections
  7. socket_timeout: 10
  8. # PEM encoded CA cert to use with an SSL connection (string)
  9. ssl_ca_cert: |
  10. <%= ENV['KAFKA_TRUSTED_CERT']&.gsub("\n", "\n ") %>
  11. # PEM encoded client cert to use with an SSL connection (string)
  12. # Must be used in combination with ssl_client_cert_key
  13. ssl_client_cert: |
  14. <%= ENV['KAFKA_CLIENT_CERT']&.gsub("\n", "\n ") %>
  15. # PEM encoded client cert key to use with an SSL connection (string)
  16. # Must be used in combination with ssl_client_cert
  17. ssl_client_cert_key: |
  18. <%= ENV['KAFKA_CLIENT_CERT_KEY']&.gsub("\n", "\n ") %>
  19. # list of brokers used to initialize the client ("port:protocol")
  20. seed_brokers: <%= (ENV['KAFKA_URL'] || 'localhost:9092').split(',') %>
Add Comment
Please, Sign In to add comment