Add new rules
This commit is contained in:
parent
0051b84dfc
commit
f9aaf86ad9
3
.gitignore
vendored
3
.gitignore
vendored
|
@ -4,4 +4,5 @@
|
|||
**/*.config
|
||||
**/*.example*
|
||||
*.md
|
||||
**/*.md*
|
||||
**/*.md*
|
||||
!README.md
|
||||
|
|
41
s3-kafka-connect.yaml
Normal file
41
s3-kafka-connect.yaml
Normal file
|
@ -0,0 +1,41 @@
|
|||
apiVersion: kafka.strimzi.io/v1beta2
|
||||
kind: KafkaConnect
|
||||
metadata:
|
||||
name: my-connect-cluster
|
||||
annotations:
|
||||
strimzi.io/use-connector-resources: "true"
|
||||
spec:
|
||||
replicas: 1
|
||||
bootstrapServers: my-cluster-kafka-bootstrap:9092
|
||||
config:
|
||||
group.id: my-connect-cluster
|
||||
offset.storage.topic: my-connect-cluster-offsets
|
||||
config.storage.topic: my-connect-cluster-configs
|
||||
status.storage.topic: my-connect-cluster-status
|
||||
key.converter: io.confluent.connect.avro.AvroConverter
|
||||
value.converter: io.confluent.connect.avro.AvroConverter
|
||||
key.converter.schema.registry.url: http://schema-registry:8081 # Specify the Schema Registry URL for Avro schema
|
||||
value.converter.schema.registry.url: http://schema-registry:8081
|
||||
config.storage.replication.factor: 3
|
||||
offset.storage.replication.factor: 3
|
||||
status.storage.replication.factor: 3
|
||||
build:
|
||||
output:
|
||||
type: docker
|
||||
image: my-reg.io/my-org/my-connect-cluster:latest
|
||||
pushSecret: my-registry-credentials
|
||||
plugins:
|
||||
- name: s3-sink-connector
|
||||
artifacts:
|
||||
- type: jar
|
||||
url: https://repo.maven.apache.org/maven2/io/confluent/connect/s3/kafka-connect-s3/7.0.1/kafka-connect-s3-7.0.1.jar
|
||||
sha512sum: <sha512_checksum_here> # Replace with actual SHA512 checksum
|
||||
- name: confluent-avro-connector
|
||||
artifacts:
|
||||
- type: jar
|
||||
url: https://repo1.maven.org/maven2/io/confluent/kafka-connect-avro-converter/7.0.1/kafka-connect-avro-converter-7.0.1.jar
|
||||
sha512sum: <sha512_checksum_here> # Replace with actual SHA512 checksum
|
||||
template:
|
||||
pod:
|
||||
imagePullSecrets:
|
||||
- name: my-registry-credentials
|
Loading…
Reference in a new issue