Skip to content
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

Loss of records in the insertion in mongo #16

Open
JessicaMatiasBlancas opened this issue Feb 23, 2017 · 1 comment
Open

Loss of records in the insertion in mongo #16

JessicaMatiasBlancas opened this issue Feb 23, 2017 · 1 comment

Comments

@JessicaMatiasBlancas
Copy link

Hi
I use mongo sink connector in distributed mode.
I send registers from my producer to mongo database, but I'm lost 70% of registers
In my mongo database only are 30%

This is the configuration of my connector
curl -X POST -H "Content-Type: application/json" --data '{"name":"test-sink-mongo","config":{"connector.class":"org.apache.kafka.connect.mongodb.MongodbSinkConnector","tasks.max":"1","host":"10.0.0.25","port":"27017","bulk.size":"100","mongodb.database":"test","mongodb.collections":"collection-database-example","topics":"MONGO"}}' http://localhost:8083/connectors

@JessicaMatiasBlancas JessicaMatiasBlancas changed the title Lost registers Loss of records in the insertion in mongo Feb 23, 2017
@anupkumarsharma
Copy link

Its hard to debug without seeing the setup. The best way is to add a log statement in put() and check if you are getting all the events. If not, you might have to check the kafka connect setup.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants