giulio1979 commented on issue #1574:
URL:
https://github.com/apache/camel-kafka-connector/issues/1574#issuecomment-1820659299
I tried to sanitize a bit but roughly this is it:
apiVersion: kafka.strimzi.io/v1beta2
kind: KafkaConnector
metadata:
labels:
app.kubernetes.io/instance: http-post
app.kubernetes.io/managed-by: Helm
app.kubernetes.io/name: kafka-http-connector
strimzi.io/cluster: httpconnect-kafka-connect-cluster
name: http-post-kafka-http-connector
namespace: test
spec:
class: org.apache.camel.kafkaconnector.httpsink.CamelHttpsinkSinkConnector
config:
camel.kamelet.http-sink.method: POST
camel.kamelet.http-sink.url: https://simpletest.requestcatcher.com/
errors.tolerance: all
group.id: sometest
key.converter: io.confluent.connect.avro.AvroConverter
key.converter.schema.registry.url:
http://schema-registry.shared-services.svc.cluster.local:8081
key.converter.schemas.enable: 'true'
output.data.format: JSON
topics: sometest.chuck-norris
transforms: tojson
transforms.tojson.converter.type: value
transforms.tojson.type:
org.apache.camel.kafkaconnector.transforms.SchemaAndStructToJsonTransform
value.converter: io.confluent.connect.avro.AvroConverter
value.converter.schema.registry.url:
http://schema-registry.shared-services.svc.cluster.local:8081
value.converter.schemas.enable: 'true'
tasksMax: 1
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]