Skip to content

Commit 2d80276

Browse files
Heng CuiHeng Cui
authored andcommitted
update in application.*.conf
1 parent ae0836a commit 2d80276

3 files changed

Lines changed: 18 additions & 8 deletions

File tree

candyfloss/src/main/resources/application.dev.conf

Lines changed: 10 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,25 +1,27 @@
11
kafka {
22
# Kafka and Kafka streams paramaerts, check https://docs.confluent.io/platform/current/installation/configuration/streams-configs.html for more details
3-
application.id = "candyfloss-dev-app-id"
4-
group.id = "cosmos.dev.candyflows-1"
5-
bootstrap.servers = "localhost:9092"
3+
application.id = "daisy.dev.candyfloss-tmp"
4+
group.id = "daisy.dev.candyflows-1-tmp"
5+
bootstrap.servers = "kafka.sbd.corproot.net:9093"
66
acks = all
77
enable.idempotence = true
8-
schema.registry.url = "https://localhost:8081"
8+
schema.registry.url = "https://schema-registry.zhh.sbd.corproot.net"
99
key.serializer = "org.apache.kafka.common.serialization.StringSerializer"
1010
value.serializer = "org.apache.kafka.common.serialization.StringSerializer"
1111
metrics.recording.level = DEBUG
1212
compression.type = gzip
1313
replication.factor = 2
1414
num.stream.threads = 2
1515
probing.rebalance.interval.ms = 120000
16-
# we may need to tune "metadata.max.age.ms" and "partition.assignment.strategy" for pattern subscription.
17-
# metadata.max.age.ms = 30000
16+
17+
# the following settings could be relevant for behaviors when having multiple topics subscribed.
1818
# partition.assignment.strategy = "org.apache.kafka.clients.consumer.CooperativeStickyAssignor"
19+
# max.partition.fetch.bytes = 128000
20+
# metadata.max.age.ms = 300000
1921
}
2022
kstream {
21-
input.topic.pattern = "dev.*\\.device-.*-raw"
22-
input.topic.name = dev.device-json-raw-input
23+
input.topic.pattern = "dev\\.device-yang(-[^-]+)?-raw"
24+
input.topic.name = null
2325
discard.topic.name = dev.candyfloss-processing-discard # All messages that didn't match any step in the pipeline
2426
dlq.topic.name = dev.candyfloss-processing--dlq # Messages that encountered a Java exception during the processing
2527
normalization.statestore.cutoff.time.ms = 1800000 # 30 minutes

candyfloss/src/main/resources/application.ietf.dev.conf renamed to candyfloss/src/main/resources/application.itm.dev.conf

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,10 @@ kafka {
1515
num.stream.threads = 2
1616
auto.offset.reset = latest
1717
probing.rebalance.interval.ms = 120000
18+
19+
# partition.assignment.strategy = "org.apache.kafka.clients.consumer.CooperativeStickyAssignor"
20+
# max.partition.fetch.bytes = 128000
21+
# metadata.max.age.ms = 300000
1822
}
1923
kstream {
2024
input.topic.name = daisy.dev.device-json-raw

candyfloss/src/main/resources/application.prod.conf

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,10 @@ kafka {
1313
replication.factor = 2
1414
num.stream.threads = 2
1515
probing.rebalance.interval.ms = 120000
16+
17+
# partition.assignment.strategy = "org.apache.kafka.clients.consumer.CooperativeStickyAssignor"
18+
# max.partition.fetch.bytes = 128000
19+
# metadata.max.age.ms = 300000
1620
}
1721
kstream {
1822
input.topic.name = prod.device-json-raw-input

0 commit comments

Comments
 (0)