mirror of
https://github.com/go-eagle/eagle.git
synced 2025-09-26 20:41:26 +08:00

* feat: improve kafka component * chore: revert test password * docs: add changelog * chore: upgrade sarama to IBM/sarama
23 lines
430 B
YAML
23 lines
430 B
YAML
default: # 实例名称
|
|
Version: "2.8.1"
|
|
RequiredAcks: 1
|
|
Topic: "test-topic"
|
|
ConsumeTopic:
|
|
- "test-topic1"
|
|
- "test-topic2"
|
|
Brokers:
|
|
- "localhost:9092"
|
|
GroupID: "test-group"
|
|
Partitioner: "hash"
|
|
|
|
order: # 另一个实例配置
|
|
Version: "2.8.1"
|
|
RequiredAcks: 1
|
|
Topic: "order-topic"
|
|
ConsumeTopic:
|
|
- "order-topic"
|
|
Brokers:
|
|
- "localhost:9092"
|
|
GroupID: "order-group"
|
|
Partitioner: "random"
|