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

add decoder options #29

Merged
merged 1 commit into from
Mar 21, 2015
Merged

Conversation

talevy
Copy link
Contributor

@talevy talevy commented Mar 18, 2015

This PR will allow individuals to apply their own decoder for Kafka messages

example:

# let logstash runtime to load your custom library so you can use it!
$ export CLASSPATH=/path/to/lib.jar
# logstash config
input {
  kafka {
    topic_id => "my_custom_topic"
    decoder_class => "org.logstash.dots.DotsDecoder"
  }
}

@joekiller
Copy link
Collaborator

jruby-kafka 1.2.0 is live now so this can continue.

@talevy
Copy link
Contributor Author

talevy commented Mar 20, 2015

thanks @joekiller!

@suyograo
Copy link
Contributor

LGTM

talevy added a commit that referenced this pull request Mar 21, 2015
@talevy talevy merged commit 1bb2a3a into logstash-plugins:master Mar 21, 2015
@talevy talevy deleted the add-decoder-support branch March 21, 2015 02:48
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

Successfully merging this pull request may close these issues.

3 participants