-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathkafkatoelasticservice-kafka_to_elastic.yml
44 lines (40 loc) · 1.27 KB
/
kafkatoelasticservice-kafka_to_elastic.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
server:
port: 8182
kafka-config:
bootstrap-servers: localhost:9092, localhost:9093, localhost:9094
schema-registry-url-key: schema.registry.url
schema-registry-url: http://localhost:8081
topic-name: twitter-topic
topic-names-to-create:
- twitter-topic
kafka-consumer-config:
key-deserializer: org.apache.kafka.common.serialization.LongDeserializer
value-deserializer: com.microservices.demo.kafka.to.elastic.service.transformer.StatusToElasticModelTransformer
consumer-group-id: twitter-topic-consumer
auto-offset-reset: earliest
specific-avro-reader-key: specific.avro.reader
specific-avro-reader: true
batch-listener: true
auto-startup: false
concurrency-level: 3
session-timeout-ms: 10000
heartbeat-interval-ms: 3000
max-poll-interval-ms: 300000
max-poll-records: 500
max-partition-fetch-bytes-default: 1048576
max-partition-fetch-bytes-boost-factor: 1
poll-timeout-ms: 150
retry-config:
initial-interval-ms: 1000
max-interval-ms: 10000
multiplier: 2.0
maxAttempts: 3
sleep-time-ms: 2000
elastic-config:
is-repository: true
index-name: twitter
connection-url: https://nxslz9rfgm:[email protected]:443
connect-timeout-ms: 5000
socket-timeout-ms: 30000
user: nxslz9rfgm
pass: ii34zb0h9v