# ============LICENSE_START=============================================== # Copyright (C) 2023 Nordix Foundation. All rights reserved. # ======================================================================== # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. # ============LICENSE_END================================================= # apiVersion: kafka.strimzi.io/v1beta2 kind: KafkaConnect metadata: name: pm-connect-cluster namespace: nonrtric annotations: # use-connector-resources configures this KafkaConnect # to use KafkaConnector resources to avoid # needing to call the Connect REST API directly strimzi.io/use-connector-resources: "true" trait.camel.apache.org/logging.level: DEBUG trait.camel.apache.org/logging.color: "false" spec: image: kafka-connect-influxdb2 replicas: 1 bootstrapServers: kafka-1-kafka-bootstrap.nonrtric:9092 externalConfiguration: volumes: - name: influxdb2-connection-bean secret: secretName: influxdb2-connection-bean config: tasks.max: 1 config.providers: file config.providers.file.class: org.apache.kafka.common.config.provider.FileConfigProvider group.id: connect-cluster offset.storage.topic: connect-cluster-offsets config.storage.topic: connect-cluster-configs status.storage.topic: connect-cluster-status config.storage.replication.factor: 1 offset.storage.replication.factor: 1 status.storage.replication.factor: 1