Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to do make Avro codec batch push to Kafka? #26

Open
elkan1788 opened this issue Jun 12, 2017 · 0 comments
Open

How to do make Avro codec batch push to Kafka? #26

elkan1788 opened this issue Jun 12, 2017 · 0 comments

Comments

@elkan1788
Copy link

elkan1788 commented Jun 12, 2017

Hi, guys. There I have a request want handle data through Storm blot in batch. But when I integrate with Logstash found that the it push data by line. So is there code avro can support batch push options.

  • Request: want to handle data in batch
  • Version: 3.0.0
  • Operating System: want to handle data in batch
  • Config File (output):
output {
    stdout {
        codec => plain {
             format => "%{message}"
       }
    }

    kafka {
        client_id => "logstash-test"
        bootstrap_servers => "xxx:9092,xxx:9093"
        topic_id => "logstash-test"
        compression_type => "snappy"
        retries => 5

        codec => avro {
            schema_uri => "/root/User.avsc"
        }
    }
}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant