Skip to content

Commit

Permalink
Updated readme
Browse files Browse the repository at this point in the history
  • Loading branch information
Sercan Çelenk committed Mar 12, 2024
1 parent cbbdaca commit fa9c67b
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 10 deletions.
26 changes: 17 additions & 9 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -93,17 +93,25 @@ This is an example of how to list things you need to use the software and how to
```
kafkathena:
shared-factory-props:
autoStartup: true
missingTopicAlertEnable: false
concurrency: 1
syncCommitTimeoutSecond: 5
syncCommit: true
ackMode: RECORD
interceptorClassPath: com.trendyol.kafkathena.demo.interceptor.KafkaConsumerInterceptor
producer:
interceptor: "com.trendyol.mpc.kafkathena.commons.interceptor.KSProducerInterceptor"
consumer:
interceptor: "com.trendyol.mpc.kafkathena.commons.interceptor.KSConsumerInterceptor"
autoStartup: true
missingTopicAlertEnable: false
concurrency: 1
syncCommitTimeoutSecond: 5
syncCommit: true
batch: false
ackMode: RECORD
clusters:
"[confluent]":
servers: localhost:9092
producers:
default:
cluster: confluent
props:
"[bootstrap.servers]": ${KAFKA_BOOTSTRAP_SERVERS:localhost:29092}
"[batch.size]": 16384
"[linger.ms]": 0
"[buffer.memory]": 33554432
Expand All @@ -118,6 +126,7 @@ kafkathena:
factory-bean-name: consumerOneKafkaListenerContainerFactory
data-class: com.trendyol.kafkathena.demo.model.ConsumerOneMessage
error-producer-name: default
cluster: confluent
filter-header:
error-producer-filter-key: one-filter
consumer-filter-key: one-filter
Expand All @@ -141,7 +150,6 @@ kafkathena:
ack-mode: : RECORD
interceptor-class-path: : com.trendyol.kafkathena.demo.interceptor.KafkaConsumerInterceptor
props:
"[bootstrap.servers]": ${KAFKA_BOOTSTRAP_SERVERS:localhost:29092}
"[group.id]": kafkathena.topicOneGroup
"[value.deserializer]": org.springframework.kafka.support.serializer.ErrorHandlingDeserializer
"[spring.deserializer.value.delegate.class]": org.springframework.kafka.support.serializer.JsonDeserializer
Expand Down
1 change: 0 additions & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,6 @@
<maven.compiler.source>17</maven.compiler.source>
<maven.compiler.target>17</maven.compiler.target>

<package-registry-project-id>4093</package-registry-project-id>
<kafkathena.commons.version>1.0.0</kafkathena.commons.version>
</properties>

Expand Down

0 comments on commit fa9c67b

Please sign in to comment.