-
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
Is it possible to replicate messages with headers from source kafka to destination? #315
Comments
Please try to use uReplicator-Worker-3.0 which supports Kafka header |
Is it possible to run it in docker-compose environment with non-federation mode? |
yes, it's possible to run on docker-compose. the readme is a bit outdated. I'm going to submit a PR with docker-compose example. |
Maybe you write in comments, how to build docker image with worker-3.0 support? because if i build image as usual, how you describe in README,i can't see start shell scripts for worker-3.0 in ./uReplicator-Distribution/target/uReplicator-Distribution-pkg/bin directory |
To run worker-3.0 on docker, the start shell scripts need to update. 1: you will need to update docker-entrypoint.sh with ** 2: update Dockerfile RUN apt-get update && ARG MAVEN_OPTS="-Xmx1024M -Xss128M -XX:MetaspaceSize=512M -XX:MaxMetaspaceSize=1024M -XX:+CMSClassUnloadingEnabled" RUN mvn clean package -DskipTests ENTRYPOINT [ "./docker-entrypoint.sh" ] After the above steps, you shall able to run worker-3.0 docker with the command |
worker-3.0 is the preferred option now, I'm going to update the start shell and Dockerfile soon. |
I have a problem with test environment, when i tried to replicate topic to destination kafka, all messages was replicated without headers.
Controller & worker runs in dockers, maybe i set incorrectly consumer.properties?
This is my config:
The text was updated successfully, but these errors were encountered: