Advertisement
Guest User

Untitled

a guest
Feb 26th, 2020
169
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.34 KB | None | 0 0
  1. kafka:
  2. server: pkc-412nj.europe-west1.gcp.confluent.cloud:9092
  3. enabled: true
  4. username: 6FZ6LCUOSZ6YR455
  5. password: 4yhbwYD9JrzMXg4Rl8z3RJZALcjPwddi1OaUvNHuiJsLj1SCCpRBncbti+vrKnx+
  6. group-id: testLocal05
  7. topic: events.masq.instance-qa
  8. output-topic: events.planning.instance-batch-local
  9. concurrency: 24 #recommended to be equal to nr of partitions of the Kafka topic
  10. schema-registry:
  11. username: admin
  12. password: P4JUNKIzek3olJWSm70Y
  13. server:
  14. port: 7777
  15. spring:
  16. kafka:
  17. listener:
  18. ack-mode: batch
  19. producer:
  20. bootstrap-servers: ${kafka.server}
  21. key-serializer: io.confluent.kafka.serializers.KafkaAvroSerializer
  22. value-serializer: io.confluent.kafka.serializers.KafkaAvroSerializer
  23. properties:
  24. basic:
  25. auth:
  26. user:
  27. info: ${schema-registry.username}:${schema-registry.password}
  28. credentials:
  29. source: USER_INFO
  30. schema:
  31. registry:
  32. url: https://confluent-schema-registry-np.qone.mateco.eu
  33. sasl:
  34. mechanism: PLAIN
  35. jaas:
  36. config: org.apache.kafka.common.security.plain.PlainLoginModule required username="${kafka.username}" password="${kafka.password}";
  37. security:
  38. protocol: SASL_SSL
  39. ssl.endpoint.identification.algorithm: https
  40. request.timeout.ms: 20000
  41. retry.backoff.ms: 500
  42. transaction-id-prefix: ${random.uuid}
  43. consumer:
  44. bootstrap-servers: ${kafka.server}
  45. properties:
  46. basic:
  47. auth:
  48. user:
  49. info: ${schema-registry.username}:${schema-registry.password}
  50. credentials:
  51. source: USER_INFO
  52. schema:
  53. registry:
  54. url: https://confluent-schema-registry-np.qone.mateco.eu
  55. sasl:
  56. mechanism: PLAIN
  57. jaas:
  58. config: org.apache.kafka.common.security.plain.PlainLoginModule required username="${kafka.username}" password="${kafka.password}";
  59. security:
  60. protocol: SASL_SSL
  61. key-deserializer: io.confluent.kafka.serializers.KafkaAvroDeserializer
  62. value-deserializer: io.confluent.kafka.serializers.KafkaAvroDeserializer
  63. auto-offset-reset: latest
  64. isolation-level: read_committed
  65. enable-auto-commit: true
  66. max-poll-records: 200
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement