It looks like my configuration for changelog.replication.factor is not being 
applied. Instead the default seems to be applied. I have messages on 2/3 
partitions. I am not seeing what I have incorrectly configured.

stores.redelivery-store.factory=org.apache.samza.storage.kv.RocksDbKeyValueStorageEngineFactory
stores.redelivery-store.changelog=kafka.delivery-changelog
stores.default.changelog.replication.factor=3





Jeremiah Adams
Software Engineer
www.helixeducation.com
Blog | Twitter | Facebook | LinkedIn

________________________________________
From: Jagadish Venkatraman <jagadish1...@gmail.com>
Sent: Friday, March 22, 2019 3:01 PM
To: dev@samza.apache.org
Subject: Re: Empty Kafka topic partition Warning

Hi Jeremiah,

>> why is the offset 0?

This likely means that the change-log is empty and does not have any
messages.

Can you try consuming from partition-number: 0 using a KafkaConsumer?

Best,
Jagadish





On Fri, Mar 22, 2019 at 11:45 AM Jeremiah Adams <jad...@helixeducation.com>
wrote:

> I'm seeing these in our log periodically  and havn't seen them before.
> Does this imply that the topic associated with the change log is being
> replayed from the beginning?
>
>
> Also, why is the offset 0? It definitely should not be. We have messages
> across all partitions.
>
>
> 2019-03-22 18:30:24 KafkaSystemAdmin [INFO] Fetching SSP metadata for:
> [SystemStreamPartition [kafka, delivery-changelog, 0]]
> 2019-03-22 18:30:24 KafkaSystemAdmin [WARN] Empty Kafka topic partition
> delivery-changelog-0 with upcoming offset 0. Skipping newest offset and
> setting oldest offset to 0 to consume from beginning
> 2019-03-22 18:30:52 KafkaSystemAdmin [INFO] Fetching SSP metadata for:
> [SystemStreamPartition [kafka, delivery-changelog, 0]]
> 2019-03-22 18:30:52 KafkaSystemAdmin [WARN] Empty Kafka topic partition
> delivery-changelog-0 with upcoming offset 0. Skipping newest offset and
> setting oldest offset to 0 to consume from beginning
>
>
> Jeremiah Adams
> Software Engineer
> https://url.emailprotection.link/?bM9S-3pRw1lv8pYfwa-TwdjElP4W2K6b9vP5Crz22L_YcgsRJ-13h-OgPZSwFtU7GSNTDi1z-jdaRvWESRhtTVA~~<https://url.emailprotection.link/?basKr9vk92a8vVw0XMnK5bmaSKuBc0AuEZ7YasYc7Df8YVt3SYmcjmLWdKMWzAAINWlUUA33ebGI7pSoTl9cg1g~~>
> Blog<https://url.emailprotection.link/?basKr9vk92a8vVw0XMnK5bmaSKuBc0AuEZ7YasYc7Df-lAcqG1fqHPpNw-wd9z7HtUJeCG5_8UjCf2mHtn6C_zQ~~>
>  | Twitter<
> https://url.emailprotection.link/?bVO2q0UXR235wN_yOnM0FjqITPdBYMD3reLGNddq-zPV5ChMQK9JwV4Be-QnrbRoXpJl8IcknAqKzYtA3RABKww~~>
>  | Facebook<
> https://url.emailprotection.link/?bUU7m4NfMS_EWGtH1yojBHX9sWZ6uxVdT1eQUkmU5vWY01WFZiS2KJ-c9iLIncdHB7Uw1lRYCprEEpPPQCdiK6Q~~>
>  | LinkedIn<
> https://url.emailprotection.link/?b0ZQfJ1pZYnASyoShs9MJI46-r1lxPhA-JS5VSkR7so-DFP0_HxbOo2LsajGOaoYXxb1ZCOMAu7hZscPCnIKWpXz0cpgQ386SnNHjPcwsu4z90mzBkuwoZc6YxOCzMGA0>
>


--
Jagadish V,
Graduate Student,
Department of Computer Science,
Stanford University

Reply via email to