@lucaapp/service-utils 1.48.2 → 1.48.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -141,7 +141,7 @@ class KafkaClient {
|
|
|
141
141
|
this.logger.debug(`Topic=${topic} already exists. Not creating.`);
|
|
142
142
|
return;
|
|
143
143
|
}
|
|
144
|
-
const numPartitions = this.environment == serviceIdentity_1.Environment.PROD ? 3 :
|
|
144
|
+
const numPartitions = this.environment == serviceIdentity_1.Environment.PROD ? 3 : 2;
|
|
145
145
|
const replicationFactor = this.environment == serviceIdentity_1.Environment.LOCAL ? 1 : 3;
|
|
146
146
|
await this.admin.createTopics({
|
|
147
147
|
topics: [
|