You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
However, I am getting an error: {"error_code":500,"message":"Must configure one of topics or topics.regex"}
For some reason, I am unable to specify the topic name in the 'topic' field.
To make things more difficult for myself, I specified the topic name in 'topics' field and was left scratching my head why the topic being used was called 'tweets', realized now that it's the default value of topic name in the code.
Any help/advise would be appreciated.
Thanks
The text was updated successfully, but these errors were encountered:
Hi,
I am trying to create a source connector using the below-listed command and configurations.
curl -X POST
http://localhost:8091/connectors
-H 'Content-Type: application/json'
-H 'Accept: application/json'
-d '{
"name": "kafka-connect-twitter",
"config": {
"connector.class": "com.eneco.trading.kafka.connect.twitter.TwitterSourceConnector",
"tasks.max": "1",
"topic": "fooTweets",
"twitter.consumerkey": "xxxxxxxxxxxxxx",
"twitter.consumersecret": "xxxxxxxxxxxx",
"twitter.token": "xxxxxxxxxxx",
"twitter.secret": "xxxxxxxxxxx",
"track.terms": "fooTerm"
}
}'
However, I am getting an error: {"error_code":500,"message":"Must configure one of topics or topics.regex"}
For some reason, I am unable to specify the topic name in the 'topic' field.
To make things more difficult for myself, I specified the topic name in 'topics' field and was left scratching my head why the topic being used was called 'tweets', realized now that it's the default value of topic name in the code.
Any help/advise would be appreciated.
Thanks
The text was updated successfully, but these errors were encountered: