mirror of
https://github.com/umami-software/umami.git
synced 2025-12-08 05:12:36 +01:00
add properties to kafka client
This commit is contained in:
parent
508e23c52e
commit
0beedb0e1c
2 changed files with 80 additions and 21 deletions
|
|
@ -13,11 +13,13 @@ export function getKafkaClient() {
|
|||
return new Kafka({
|
||||
clientId: 'umami',
|
||||
brokers: brokers,
|
||||
connectionTimeout: 3000,
|
||||
});
|
||||
} else {
|
||||
return new Kafka({
|
||||
clientId: 'umami',
|
||||
brokers: brokers,
|
||||
connectionTimeout: 3000,
|
||||
ssl: true,
|
||||
sasl: {
|
||||
mechanism: 'plain',
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue