Skip to content

Commit 3ed9a9d

Browse files
feat: pass rack configuration to kafka-cronsumer
1 parent a4fac27 commit 3ed9a9d

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

.gitignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
.idea
2-
.dist/
2+
dist/

consumer.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -84,6 +84,7 @@ func NewConsumer(cfg *ConsumerConfig) (Consumer, error) {
8484
kcronsumerCfg.SASL.AuthType = string(cfg.SASL.Type)
8585
kcronsumerCfg.SASL.Username = cfg.SASL.Username
8686
kcronsumerCfg.SASL.Password = cfg.SASL.Password
87+
kcronsumerCfg.SASL.Rack = cfg.Rack
8788
}
8889

8990
if !cfg.TLS.IsEmpty() {

0 commit comments

Comments
 (0)