logstash-plugins / logstash-input-kafka

Kafka input for Logstash
Apache License 2.0
139 stars 122 forks source link

[BUG] "Expected value to be a 32-bit integer, but it was a java.lang.Long" #292

Open PauloTemenos opened 5 years ago

PauloTemenos commented 5 years ago

The Kafka input plugin looks to have a bug - numeric properties (I tracked around 3 properties before I gave up on «numeric» properties) do not work with, apparently, the number converted to Long then tried to downgrade-cast into Int.

I tried uninstalling the plugin and force-install version 7.1.1, but that version didn't work any better.

These are the 3 properties I tracked for sure to be suffering from this: fetch_max_wait_ms heartbeat_interval_ms max_poll_interval_ms

AlessandroMenti commented 5 years ago

@PauloTemenos Did you try specifying the numeric properties as strings, like this?

request_timeout_ms => "25000"

This looks suspiciously similar to #199.