We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3ece770 commit 11e8f75Copy full SHA for 11e8f75
packages/kafka/src/index.ts
@@ -199,8 +199,7 @@ class PlatformQueueProducerImpl implements PlatformQueueProducer<any> {
199
) {
200
this.txProducer = kafka.producer({
201
allowAutoTopicCreation: true,
202
- createPartitioner: Partitioners.DefaultPartitioner,
203
- compression: CompressionTypes.GZIP
+ createPartitioner: Partitioners.DefaultPartitioner
204
})
205
this.connected = this.ctx.with('connect-broker', {}, () => this.txProducer.connect())
206
}
@@ -224,7 +223,8 @@ class PlatformQueueProducerImpl implements PlatformQueueProducer<any> {
224
223
workspace,
225
meta: JSON.stringify(ctx.extractMeta())
226
227
- }))
+ })),
+ compression: CompressionTypes.GZIP
228
229
)
230
0 commit comments