-
Notifications
You must be signed in to change notification settings - Fork 100
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
Issue with camel-google-pubsub-kafka-connector sink configuration #1209
Comments
You didn't specify the projectid for google cloud pubsub service, also you didn't specify the credentials for accessing the cloud service. Please read the documentation and have a look at this example. |
The removed the projectID due to expose. |
Update kafka-pubsub
Kafka-connect : output 2021-06-14 13:47:59,095 INFO [Consumer clientId=connector-consumer-pubsub-kafka-0, groupId=connect-pubsub-kafka] Member connector-consumer-pubsub-kafka-0-921dcb28-9357-4ac4-a767-42898b659fdf sending LeaveGroup request to coordinator my-cluster-kafka-1.my-cluster-kafka-brokers.kafka.svc:9092 (id: 2147483646 rack: null) due to the consumer is being closed (org.apache.kafka.clients.consumer.internals.AbstractCoordinator) [task-thread-pubsub-kafka-0] |
You need to provide credentials. Also please report the version of the connector you're using. |
version: latest (0.7.X) |
The version is latest or 0.7.x. What is the version of the jar you're installing and how are you installing the jar |
output from kafkaconnect: |
I'm created GKE using 1.20 version ,not sure on the jar |
The version of the connector. |
version the latest |
The new look for authentication - Please this the way to implement serviceAccountKey?
|
No, you need to provide a file a pass the path to the service account key file. You can get the file from the google pubsub console. |
Here's an update
|
It shoud be the minimal configuration. |
Please what do you mean by minimal configuration? |
With these parameters configured correctly it should work. |
Issue with Kafka-connector:
|
This needs to be tested first in Ckc. I don't think there is the need of brackets there. It's a camel configuration option not Kafka connect. |
I'm having no joy in getting the key to work.
|
Please any update on this ? |
No news at the moment. Please try it locally and place the file on your file system. |
I've tested this locally.
|
What do you have in the kafka topic and what message are you trying to send to pubsub? It seems you have empty lines. |
Yes - Created Kafka topic and sent msgs like Hello world - however GCP Kafka connector works. |
I'll try to have a look, but not soon. The other connector is not based on camel.. |
Issue with Kafkaconnector version 0.10.1 - Any idea? |
KafkaConnector name: pubsub issue after sending datastreams:
|
Please any assist on this? |
Don't push so much on contributors. When I'll have time, I'll have a look, if someone else from the community want to help, he will do it. |
What is inside the folder of google-pubsub in the plugin.path folder? This Failed to resolve endpoint: google-pubsub Means there is no component found for the connector. |
|
Any ideas? |
This configuration in a local kafka works fine For sink connector:
As you may see I'm pointing a file locally to my filesystem with an absolute path. Same story for a source connector
|
I cannot help more than this. |
Issue when using camel-google-pubsub-kafka-connector as sink for Strimzi kafka.
I've created a KafkaConnect single-node cluster using camel kafka connect for Pubsub.
That works fine.
Please find the k8s files and the error msg.
Any idea of resolving the google-pubsub-kafka-connector for k8s?
K8s file for KafkaConnect
Issue with pubsub-kafka
error msg from KafkaConnect container
2021-06-14 13:18:35,037 ERROR Uncaught exception in REST call to /connectors/pubsub-kafka/config (org.apache.kafka.connect.runtime.rest.errors.ConnectExceptionMapper) [qtp977975287-18]
org.apache.kafka.common.config.ConfigException: Must configure one of topics or topics.regex
at org.apache.kafka.connect.runtime.SinkConnectorConfig.validate(SinkConnectorConfig.java:102)
at org.apache.kafka.connect.runtime.AbstractHerder.validateConnectorConfig(AbstractHerder.java:352)
at org.apache.kafka.connect.runtime.AbstractHerder.lambda$validateConnectorConfig$1(AbstractHerder.java:326)
at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515)
at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
at java.base/java.lang.Thread.run(Thread.java:834)
``
The text was updated successfully, but these errors were encountered: