瀏覽代碼

调整

d1
H Vs 3 週之前
父節點
當前提交
ee13e6982b
共有 1 個檔案被更改,包括 2 行新增1 行删除
  1. +2
    -1
      services/kafka_service.py

+ 2
- 1
services/kafka_service.py 查看文件

@@ -39,7 +39,8 @@ class KafkaService:
try:
self.producer = AIOKafkaProducer(
bootstrap_servers=self.bootstrap_servers,
compression_type="gzip",
# compression_type="gzip",
compression_type="snappy", # 或者 "lz4"
max_request_size=104857600
)
await self.producer.start()


Loading…
取消
儲存