H Vs hace 3 semanas
padre
commit
ee13e6982b
Se han modificado 1 ficheros con 2 adiciones y 1 borrados
  1. +2
    -1
      services/kafka_service.py

+ 2
- 1
services/kafka_service.py Ver fichero

@@ -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()


Cargando…
Cancelar
Guardar