0
我剛剛開始與加繆。我計劃每隔一小時運行一次camus工作。我們每小時收到80000000條消息(平均大小約爲4KB)。爲加繆工作設置frequecy
如何設置以下屬性:
# max historical time that will be pulled from each partition based on event timestamp
kafka.max.pull.hrs=1
# events with a timestamp older than this will be discarded.
kafka.max.historical.days=3
我不能夠做出來明確這些配置。我應該把1天和1小時的財產作爲2嗎? camus如何提取數據?我經常會看到以下錯誤:
ERROR kafka.CamusJob: Offset range from kafka metadata is outside the previously persisted offset
Please check whether kafka cluster configuration is correct. You can also specify config parameter: kafka.move.to.earliest.offset to start processing from earliest kafka metadata offset.
如何正確設置配置以每小時運行一次並避免該錯誤?