Closed jethomaspanw closed 2 months ago
The range type seems to be wrong in the related kamelet: https://github.com/apache/camel-kamelets/blob/main/kamelets/google-sheets-source.kamelet.yaml#L107
I need to test a bit.
This should be fine now with 4.4.2
Hi, I'm attempting to set up a Kafka Connector to consume from Google Sheets. I've been following the example found here: https://github.com/apache/camel-kafka-connector-examples/tree/main/google-sheets-stream/google-sheets-stream-source along with the documentation present here: https://camel.apache.org/camel-kafka-connector/1.0.x/reference/connectors/camel-google-sheets-source-kafka-source-connector.html
I am using camel-google-sheets-source-kafka-connector version 1.0.0, and deploying to a local minikube cluster.
I've been able to create the credentials with Google, but when deploying my connector locally with a Helm chart, I've run into several confusing errors.
When I leave camel.kamelet.google-sheets-source.range out of my Helm chart, I get an error claiming that range is a required parameter, even though the documentation lists it as optional.
When I edit my Helm chart to include a range value of A1:B5, the error message I get informs me that range is expected to be a boolean value, which makes no sense given the documented usage of the parameter, and doesn't match the example in the documentation.
When I edit my Helm chart to include range as a boolean set to true, the error message I get informs me that spreadsheetId is an unknown parameter, which is completely baffling, and has left me without a good direction to try next.
Does anyone here know how to create a camel-google-sheets-source-kafka-connector that can help me with setting the correct/expected parameters?
Helm Chart without Range:
Result of
kubectl describe kctr google-sheet-source-connector
showing range is required:Helm Chart with Range A1:B5:
Result of
kubectl describe kctr google-sheet-source-connector
showing Range is expected to be a Boolean:Helm Chart with Range as Boolean:
Result of
kubectl describe kctr google-sheet-source-connector
showing spreadsheetId is not a recognized parameter: