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

If I do not have topic #84

Open
Eric-zch opened this issue Sep 19, 2020 · 2 comments
Open

If I do not have topic #84

Eric-zch opened this issue Sep 19, 2020 · 2 comments

Comments

@Eric-zch
Copy link

I met the below errors when I did not specify the topic in OracleSourceConnector.properties

[2020-09-19 14:50:11,070] ERROR Stopping after connector error (org.apache.kafka.connect.cli.ConnectStandalone:121)
java.util.concurrent.ExecutionException: org.apache.kafka.connect.runtime.rest.errors.BadRequestException: Connector configuration is invalid and contains the following 1 error(s):
Missing required configuration "topic" which has no default value.
You can also find the above list of errors at the endpoint /{connectorType}/config/validate
at org.apache.kafka.connect.util.ConvertingFutureCallback.result(ConvertingFutureCallback.java:115)
at org.apache.kafka.connect.util.ConvertingFutureCallback.get(ConvertingFutureCallback.java:99)
at org.apache.kafka.connect.cli.ConnectStandalone.main(ConnectStandalone.java:118)
Caused by: org.apache.kafka.connect.runtime.rest.errors.BadRequestException: Connector configuration is invalid and contains the following 1 error(s):
Missing required configuration "topic" which has no default value.
You can also find the above list of errors at the endpoint /{connectorType}/config/validate
at org.apache.kafka.connect.runtime.AbstractHerder.maybeAddConfigErrors(AbstractHerder.java:560)
at org.apache.kafka.connect.runtime.standalone.StandaloneHerder.putConnectorConfig(StandaloneHerder.java:194)
at org.apache.kafka.connect.cli.ConnectStandalone.main(ConnectStandalone.java:115)

@Eric-zch
Copy link
Author

image

Not sure if this function for creating topic dynamically is implemented or not.

@erdemcer
Copy link
Owner

Hi,
Could you please write topic configuration parameter into your properties file and leave it blank ? . Like this

topic=

Thanks.

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