anil suddapally
12/11/2024, 5:59 PMDataStream<Tuple2SEQFinalTransformedStream, ClassFinalStream> seqClassConnectedStream = seqAlhStream
.connect(classObjStream)
.keyBy(SEQFinalTransformedStream::getUniKey, clazz -> clazz.getUldKey())
.process(new ProcessFunctions.SeqClassProcessFunction());
public static class SeqClassProcessFunction extends CoProcessFunction<SeqFinalTransformedStream, ClassFinalStream, Tuple2SEPFinalTransformedStream, ClassFinalStream> {
// Define and initialize keyed state
the job runs fine for few hours based on the configuration and throws the error.
TaskManagers Task Slots Parallelism Job Manager memory Task manager memory Works fine till
3 1 3 1GB 1GB 10 - 12 hours
7 10 70 4GB 8GB 54 hours
7 10 70 4GB 4GB 37 hours
Caused by: org.apache.kafka.common.KafkaException: org.apache.kafka.common.errors.SaslAuthenticationException: Failed to configure SaslClientAuthenticator
at org.apache.kafka.common.network.SaslChannelBuilder.buildChannel(SaslChannelBuilder.java:239) ~[blob_p-da10a2d5057bece723c01988e2020448946245bc-260fc1abe529cc0e7ed22a521ac3c50c:?]
at org.apache.kafka.common.network.Selector.buildAndAttachKafkaChannel(Selector.java:338) ~[blob_p-da10a2d5057bece723c01988e2020448946245bc-260fc1abe529cc0e7ed22a521ac3c50c:?]
... 14 more
Caused by: org.apache.kafka.common.errors.SaslAuthenticationException: Failed to configure SaslClientAuthenticator
Caused by: java.lang.IllegalArgumentException: Callback handler must be castable to org.apache.kafka.common.security.auth.AuthenticateCallbackHandler: org.apache.kafka.common.security.oauthbearer.internals.OAuthBearerSaslClientCallbackHandler
at org.apache.kafka.common.security.oauthbearer.internals.OAuthBearerSaslClient$OAuthBearerSaslClientFactory.createSaslClient(OAuthBearerSaslClient.java:182) ~[blob_p-da10a2d5057bece723c01988e2020448946245bc-260fc1abe529cc0e7ed22a521ac3c50c:?]
at javax.security.sasl.Sasl.createSaslClient(Unknown Source) ~[?:?]
at org.apache.kafka.common.security.authenticator.SaslClientAuthenticator.lambda$createSaslClient$0(SaslClientAuthenticator.java:219) ~[blob_p-da10a2d5057bece723c01988e2020448946245bc-260fc1abe529cc0e7ed22a521ac3c50c:?]
at java.security.AccessController.doPrivileged(Native Method) ~[?:?]
Any inputs please?