My Oracle Support Banner

OGG BigData: Kafka Replicat abends - This server is not the leader for that topic-partition (Doc ID 2811461.1)

Last updated on APRIL 17, 2023

Applies to:

Oracle GoldenGate Big Data and Application Adapters - Version 12.3 and later
Information in this document applies to any platform.

Goal

Sending Data from OGG Replicate to Kafka Cluster.

We observed Intermediately data gets disconnect from Kafka and Replicat gets Abended.

org.apache.kafka.common.errors.NotLeaderForPartitionException: This server is not the leader for that topic-partition.
=ERROR 2021-09-14 20:06:33.000173 [kafka-producer-network-thread | producer-1] - A failure occurred sending the operation message at position [00000000350122640774] to Kafka to topic [<topic Name>].
org.apache.kafka.common.errors.NotLeaderForPartitionException: This server is not the leader for that topic-partition.
Exception in thread "main" oracle.goldengate.util.GGException: Error detected handling transaction commit event.
  at oracle.goldengate.datasource.UserExitDataSource.commitTransaction(UserExitDataSource.java:2354)
  at oracle.goldengate.datasource.UserExitDataSource.commitTx(UserExitDataSource.java:1956)
 

Solution

To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!


In this Document
Goal
Solution


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.