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

+ 2
- 2
services/kafka_service.py Ver fichero

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


Cargando…
Cancelar
Guardar