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

ArrayIndexOutOfBoundsException when kafka.new.consumer.topic.list is missing #1231

Closed
sdomalap opened this issue Mar 19, 2020 · 2 comments
Closed

Comments

@sdomalap
Copy link
Contributor

When we use secor.kafka.topic_filter instead of kafka.new.consumer.topic.list, and remove kafka.new.consumer.topic.list from the configuration.

2020-03-19 11:35:53,950 [Thread-4] (com.pinterest.secor.consumer.Consumer:186) ERROR Thread failed
java.lang.RuntimeException: Failed to initialize the consumer
at com.pinterest.secor.consumer.Consumer.run(Consumer.java:154)
Caused by: java.lang.ArrayIndexOutOfBoundsException: 0
at com.pinterest.secor.reader.SecorKafkaMessageIterator.subscribe(SecorKafkaMessageIterator.java:153)
at com.pinterest.secor.consumer.Consumer.init(Consumer.java:105)
at com.pinterest.secor.consumer.Consumer.run(Consumer.java:151)

@sdomalap
Copy link
Contributor Author

submitted a PR

@HenryCaiHaiying
Copy link
Contributor

HenryCaiHaiying commented Mar 19, 2020 via email

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

2 participants