config: {
appName: string;
kafka: {
brokers: string[];
clientId: string;
groupId: string;
topics: { thresholdBreached: string; thresholdBreachedDlq: string };
};
logLevel: "fatal"
| "error"
| "warn"
| "info"
| "debug"
| "trace";
mongo: { uri: `mongodb://${string}:${number}/${string}` };
port: number;
spamWindowMs: number;
} = ...
Type Declaration
ReadonlyappName: string
Readonlykafka: {
brokers: string[];
clientId: string;
groupId: string;
topics: { thresholdBreached: string; thresholdBreachedDlq: string };
}
ReadonlylogLevel: "fatal" | "error" | "warn" | "info" | "debug" | "trace"
Readonlymongo: { uri: `mongodb://${string}:${number}/${string}` }
Readonlyport: number
ReadonlyspamWindowMs: number