Open qafro1 opened 3 years ago
I can't replicate your problem,... Depends on the version of your K8s. I was using OpenShift 4.7. I guess you have to map it to what you are using? Maybe you want to try asking that in the Camel K community?
Please can you review my code gcp-kafka-sink because I just want to sent topics from Kafka into google pubsub. I think I've resolved the issue and this is the stream from my console but it does not stream to google pubsub. Please how to I sent the topic to google pubsub: topics/gcp-result
2021-07-26T16:28:31+01:00 2021-07-26 15:28:31,176 INFO [route1] (Camel (camel-1) thread #0 - KafkaConsumer[gcp-result]) "Hello world - 271" Incident [] request for GCP resource update COMPLETED!!
2021-07-26T16:28:31+01:00 2021-07-26 15:28:31,277 INFO [route1] (Camel (camel-1) thread #0 - KafkaConsumer[gcp-result]) "Hello world - 384" Incident [] request for GCP resource update COMPLETED!!
2021-07-26T16:28:31+01:00 2021-07-26 15:28:31,281 INFO [route1] (Camel (camel-1) thread #0 - KafkaConsumer[gcp-result]) "Hello world - 588" Incident [] request for GCP resource update COMPLETED!!
2021-07-26T16:28:31+01:00 2021-07-26 15:28:31,288 INFO [route1] (Camel (camel-1) thread #0 - KafkaConsumer[gcp-result]) "Hello world - 373" Incident [] request for GCP resource update COMPLETED!!
2021-07-26T16:28:31+01:00 2021-07-26 15:28:31,297 INFO [route1] (Camel (camel-1) thread #0 - KafkaConsumer[gcp-result]) "Hello world - 654" Incident [] request for GCP resource update COMPLETED!!
2021-07-26T16:28:31+01:00 2021-07-26 15:28:31,377 INFO [route1] (Camel (camel-1) thread #0 - KafkaConsumer[gcp-result]) "Hello world - 581" Incident [] request for GCP resource update COMPLETED!!
2021-07-26T16:28:31+01:00 2021-07-26 15:28:31,472 INFO [route1] (Camel (camel-1) thread #0 - KafkaConsumer[gcp-result]) "Hello world - 647" Incident [] request for GCP resource update COMPLETED!!
2021-07-26T16:28:31+01:00 2021-07-26 15:28:31,475 INFO [route1] (Camel (camel-1) thread #0 - KafkaConsumer[gcp-result]) "Hello world - 399" Incident [] request for GCP resource update COMPLETED!!
2021-07-26T16:28:31+01:00 2021-07-26 15:28:31,544 INFO [route1] (Camel (camel-1) thread #0 - KafkaConsumer[gcp-result]) "Hello world - 19" Incident [] request for GCP resource update COMPLETED!!
2021-07-26T16:28:31+01:00 2021-07-26 15:28:31,549 INFO [route1] (Camel (camel-1) thread #0 - KafkaConsumer[gcp-result]) "Hello world - 763" Incident [] request for GCP resource update COMPLETED!!
2021-07-26T16:28:31+01:00 2021-07-26 15:28:31,563 INFO [route1] (Camel (camel-1) thread #0 - KafkaConsumer[gcp-result]) "Hello world - 768" Incident [] request for GCP resource update COMPLETED!!
Please I'm trying to install your GCP pubsub into k8s (minikube then GKE), however, I've got issues mounting the configs above resolved, but PermissionDeniedException is the problem. Issue:
How do I modify the file #Kafka ConfigMap and #Google service key for k8s ?
I'm checking out the doc and I've changed the quarkus.openshift. to quarkus.kubernetes . This has resolve the mnt issue and now is the problem . Any Ideas?
Caused by: com.google.api.gax.rpc.PermissionDeniedException: com.google.api.gax.rpc.PermissionDeniedException: io.grpc.StatusRuntimeException: PERMISSION_DENIED: The request is missing a valid API key.