mirror of
https://github.com/kremalicious/umami.git
synced 2025-02-01 12:29:35 +01:00
update kafka connection to upstash config
This commit is contained in:
parent
1579beef5b
commit
a2e4ab7d46
@ -17,14 +17,9 @@ function getClient() {
|
|||||||
const ssl: { ssl?: tls.ConnectionOptions | boolean; sasl?: SASLOptions | Mechanism } =
|
const ssl: { ssl?: tls.ConnectionOptions | boolean; sasl?: SASLOptions | Mechanism } =
|
||||||
username && password
|
username && password
|
||||||
? {
|
? {
|
||||||
ssl: {
|
ssl: true,
|
||||||
checkServerIdentity: () => undefined,
|
|
||||||
ca: [process.env.CA_CERT],
|
|
||||||
key: process.env.CLIENT_KEY,
|
|
||||||
cert: process.env.CLIENT_CERT,
|
|
||||||
},
|
|
||||||
sasl: {
|
sasl: {
|
||||||
mechanism: 'plain',
|
mechanism: 'scram-sha-256',
|
||||||
username,
|
username,
|
||||||
password,
|
password,
|
||||||
},
|
},
|
||||||
|
Loading…
Reference in New Issue
Block a user