-
Notifications
You must be signed in to change notification settings - Fork 199
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Problem in replication from a local kafka to a remote one (with Kerberos auth) #336
Comments
as error log suggest, it looks like uReplicator is having problem connecting to remote Kafka. can you try to write a kafka producer with the same producer config and produce to remote Kafka? just to verify the there is a connectivity problem. |
Hello @yangy0000 I already tested that and now again I copied the producer configuration and tested to produce to the remote kafka using
But I don't think it's related to the error! Questions:
|
1: No, I thought Kafka Producer Client should handle it? FYI: The worker process will shut down itself if the produce request failed. |
Is there a retry configuration so we can change to make the producer try again when it fails? |
Since urep is using kafka-clients 1.1.1 , it doesn't have retry. |
Can you please guide me on how to switch to a newer kafka-clients version in uReplicator-worker? |
try to add below depedency into https://github.com/uber/uReplicator/blob/master/uReplicator-Worker-3.0/pom.xml
|
I upgraded the used kafka-client to 2.7 and still the same error! |
what's your throughput? what is the error message you get before producer failed? |
Hello,
I'm trying to use uReplicator between a local kafka and a remote one.
I'm running both local kafka and the replicator of the same CentOS machine which has the following OS info.
Local kafka has no authentication (PLAINTEXT), but the remote one has Kerberos authentication (SASL_PLAINTEXT).
I configured both the producer and the consumer which are located in
config
.Producer config
Consumer config
uReplicator config and commands
I'm using only a controller with a worker and I tried to run replicator using the following commands:
Start uReplicator Controller
Start uReplicator Worker
Note
I tested also the commands in the user manual without any change.
Configuration of remote Kerberos
The remote kafka which has Kerberos authentication uses the following configuration:
Results and problem:
After about a 40-60 minutes the producer fires an error and stops the replicator worker!
Log of the worker:
You can find log file in the link.
Error in uReplicator Worker.txt
Error is:
May it be that the producer fails to renew the TGT from Kerberos? How to make it do it with problems?
Notes:
The text was updated successfully, but these errors were encountered: