Skip to content

Instantly share code, notes, and snippets.

@slavirok
Last active April 28, 2024 15:19
Show Gist options
  • Save slavirok/57cfd5575774a68547cb10c93e845e74 to your computer and use it in GitHub Desktop.
Save slavirok/57cfd5575774a68547cb10c93e845e74 to your computer and use it in GitHub Desktop.
BenthOS AzureEventHub Source
input:
kafka:
addresses:
- ${EVENTHUB_BOOTSTRAP_SERVER}
topics: [${EVENTHUB_TOPIC}]
tls:
enabled: true
skip_cert_verify: true
root_cas_file: ""
client_certs: []
sasl:
mechanism: "PLAIN"
user: "$ConnectionString"
password: "${EVENTHUB_CONNECTION_STRING}"
access_token: ""
token_cache: ""
token_key: ""
consumer_group: ${EVENTHUB_CLIENT_ID}
client_id: ${EVENTHUB_CLIENT_ID}
start_from_oldest: true
checkpoint_limit: 1
commit_period: 1s
max_processing_period: 100ms
group:
session_timeout: 10s
heartbeat_interval: 3s
rebalance_timeout: 60s
fetch_buffer_cap: 256
target_version: 1.0.0
output:
kafka:
addresses:
- ${KAFKA_BOOTSTRAP_SERVER}
topic: ${KAFKA_TOPIC}
round_robin_partitions: true
tls:
enabled: true
root_cas_file: ${KAFKA_CERTIFICATE_LOCATION}/ca.pem
client_certs:
- cert_file: ${KAFKA_CERTIFICATE_LOCATION}/service.cert
key_file: ${KAFKA_CERTIFICATE_LOCATION}/service.key
@slavirok
Copy link
Author

slavirok commented Mar 18, 2021

BenthOS Azure Eventhub(Kafka Enabled) source to Kafka sink.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment