我正在使用kafka流来聚合数据并写入另一个主题。它每隔几分钟就会失败,但出现以下异常。
GROUP BY
我尝试了以下配置,但仍然失败。我们可以为超时或任何其他解决方案设置的最大值是多少?
Exception in thread "kafka-audio_spins-StreamThread-1"
org.apache.kafka.streams.errors.StreamsException: task [0_37] Abort sending
since an error caught with a previous record (key 67 value 245676645 timestamp
1544142387319) to topic kafka-stream-KSTREAM-AGGREGATE-STATE-STORE-0000000002-
repartition due to Expiring 1 record(s) for kafka-audio_spins-stream-KSTREAM-
AGGREGATE-STATE-STORE-0000000002-repartition-43: 153251 ms has passed since
batch creation plus linger time
You can increase producer parameter `retries` and `retry.backoff.ms` to avoid
this error.