-
Notifications
You must be signed in to change notification settings - Fork 61
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
Use Mongo as source and sink #14
Comments
hi,did you run it!When I run the mongodb as source,there is no work.And the error which zookeeper output like this
|
@mongodbuser can you show |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I have not been able to get this working with MongoDB as source as well as sink. These servers are not a part of the replica set and there is a need to replay all events as it is.
Questions:
Following are the property files:
Source
name=mongodb-source-connector
connector.class=org.apache.kafka.connect.mongodb.MongodbSourceConnector
tasks.max=1
host=10.6.156.188
port=27017
batch.size=100
topic.prefix=testconn
schema.name=mongodbschema
databases=PocDB.myCollection
Sink
name=mongodb-sink-connector
connector.class=org.apache.kafka.connect.mongodb.MongodbSinkConnector
tasks.max=1
host=10.6.156.189
port=27017
bulk.size=100
mongodb.database=PocDB
mongodb.collections=myCollection
topics=testconn_PocDB_myCollection
Any help in this regard is appreciated.
Thanks
The text was updated successfully, but these errors were encountered: