mirror of
https://github.com/spacebarchat/server.git
synced 2026-05-22 19:15:58 +00:00
[Config] Make brokers null by default
This commit is contained in:
+2
-4
@@ -135,7 +135,7 @@ export interface DefaultOptions {
|
||||
available: Region[];
|
||||
}
|
||||
kafka: {
|
||||
brokers: KafkaBroker[]
|
||||
brokers: KafkaBroker[] | null
|
||||
}
|
||||
}
|
||||
|
||||
@@ -235,9 +235,7 @@ export const DefaultOptions: DefaultOptions = {
|
||||
]
|
||||
},
|
||||
kafka: {
|
||||
brokers: [
|
||||
{ ip: "localhost", port: 9092 }
|
||||
]
|
||||
brokers: null
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user