Azure / azure-event-hubs-for-kafka

Azure Event Hubs for Apache Kafka Ecosystems
https://docs.microsoft.com/azure/event-hubs/event-hubs-for-kafka-ecosystem-overview
Other
231 stars 214 forks source link

fluentd - failed to flush the buffer - failed to assign partitions to 1 messages #89

Open Vincenttoolate opened 4 years ago

Vincenttoolate commented 4 years ago

Description

failed to flush the buffer - failed to assign partitions to 1 messages

How to reproduce

  1. Update td-agent.conf as per instruction.
  2. sudo systemctl restart td-agent.service

Example of my td-agent.service:

<source> @type tail path /var/log/messages pos_file /var/log/td-agent/messages.log.pos tag syslog.test <parse> @type syslog </parse> </source>

<match syslog.**> @type kafka_buffered

brokers my-test-fluentd.servicebus.windows.net:9093 buffer_type file buffer_path /var/log/td-agent/buffer/kafka flush_interval 5s default_topic TOPIC_NAME output_data_type json max_send_retries 1 required_acks -1 ssl_ca_certs_from_system true username $ConnectionString password "Endpoint=sb://<my-test-fluentd>.servicebus.windows.net/;SharedAccessKeyName=RootManageSharedAccessKey;SharedAccessKey=<mykey>" </match>

Fluentd version: 1.7.4

Installed plugin-in: /opt/td-agent/embedded/bin/fluent-gem list | grep -i kafka fluent-plugin-kafka (0.12.2, 0.12.1) ruby-kafka (0.7.10)

Has it worked previously?

It is the first attempt at getting the sample application to run

Checklist

IMPORTANT: We will close issues where the checklist has not been completed or where adequate information has not been provided.

Please provide the relevant information for the following items:

NOTE: I am using fluentd, most of the checklist might not relevant?

If this is a question on basic functionality, please verify the following:

[root@fluentd admin]# telnet <my-test-fluentd>.servicebus.windows.net 9093 Trying 13.77.xx.xx... Connected to test-fluentd.servicebus.windows.net. Escape character is '^]'.

arerlend commented 4 years ago

Not sure how no one got to this. @Vincenttoolate is this still an issue?