Connector cps.endpoint
config does not target emulator
#290
Labels
type: feature request
‘Nice-to-have’ improvement, new feature or different behavior or design.
Hi,
I'm trying to use this connector locally against the pubsub emulator.
google-cloud-cli:454.0.0-emulators
I am able to create a topic and a subscription with java client andhile I could make the connector work with existing topic & subscription for my true, existing gcloud project I'm not able to do so with the emulator.
Both the emulator & kafka-connect are started as part of a docker-compose:
6.2.1
1.2.0
PUBSUB_EMULATOR_HOST: pubsub:8085
CLOUDSDK_API_ENDPOINT_OVERRIDES_PUBSUB: http(s):pubsub:8085
(I tried several)454.0.0-emulators
gcloud beta emulators pubsub start --host-port 0.0.0.0:8085
I tried with this source connector example:
When I have a look at the connector's state I see the following exception raised:
It looks to me I'm not able to understand what are the required configuration to be able to hit the local emulator from kafka connect.
Additional infos :
My use case is simply to be able to write tests locally when working on SMT development.
Docker compose, pubsub part:
Thanks for your help.
The text was updated successfully, but these errors were encountered: