Question
ACC3
US
Last activity: 1 Nov 2023 12:49 EDT
pyFTSIncrementalIndexer constantly requesting replication factor 2
Hi,
I am running into an issue where, when we externalize Kafka services everything works, but even though we have a pyFTSIncrementalIndexer topic created, it is throwing the following error: Error processing create topic request CreateTopic(name='pega-PYFTSINCREMENTALINDEXER', numPartitions=20, replicationFactor=2, assignments=[], configs=[CreateableTopicConfig(name='retention.ms', value='216000000')]) (kafka.server.ZkAdminManager) org.apache.kafka.common.errors.InvalidReplicationFactorException: Replication factor: 2 larger than available brokers: 1.
So, when looking at pyFTSIncrementalIndexer in our rulesets the numPartitions are set to 5 and the replication factor is set in the settings to 1. A topic exists that is created that meets this setup in Kafka, but Pega, a couple times a second is throwing the above error.
We have searched everywhere for where there might be an overriding configuration that is requesting a replication factor of 2, but we can't find it.
This is the only rule throwing this error, other topics are running without problem. More info 11/1/2023:
Hi,
I am running into an issue where, when we externalize Kafka services everything works, but even though we have a pyFTSIncrementalIndexer topic created, it is throwing the following error: Error processing create topic request CreateTopic(name='pega-PYFTSINCREMENTALINDEXER', numPartitions=20, replicationFactor=2, assignments=[], configs=[CreateableTopicConfig(name='retention.ms', value='216000000')]) (kafka.server.ZkAdminManager) org.apache.kafka.common.errors.InvalidReplicationFactorException: Replication factor: 2 larger than available brokers: 1.
So, when looking at pyFTSIncrementalIndexer in our rulesets the numPartitions are set to 5 and the replication factor is set in the settings to 1. A topic exists that is created that meets this setup in Kafka, but Pega, a couple times a second is throwing the above error.
We have searched everywhere for where there might be an overriding configuration that is requesting a replication factor of 2, but we can't find it.
This is the only rule throwing this error, other topics are running without problem. More info 11/1/2023:
the topic attempting to be created is pega-PYFTSINCREMENTALINDEXER when the configuration and working topic is pega-p86-PYFTSINCREMENTALINDEXER. I am not sure where this "pega-" topic is coming from considering the pyconfig is specifying a replication factor of 1. A bunch of errors in the middle of the logs suggest there are multiple topics that are attempting to be made, pega-PYFTSINCREMENTALINDEXER is the first. There is only one server configured for this external kafka instance, the IP matches the one instance we are running.