sycommon-python-lib 0.1.15__py3-none-any.whl → 0.1.17__py3-none-any.whl
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.
Potentially problematic release.
This version of sycommon-python-lib might be problematic. Click here for more details.
- sycommon/logging/kafka_log.py +1 -1
- sycommon/rabbitmq/rabbitmq_client.py +194 -427
- sycommon/rabbitmq/rabbitmq_pool.py +104 -0
- sycommon/rabbitmq/rabbitmq_service.py +88 -85
- sycommon/services.py +18 -17
- {sycommon_python_lib-0.1.15.dist-info → sycommon_python_lib-0.1.17.dist-info}/METADATA +1 -1
- {sycommon_python_lib-0.1.15.dist-info → sycommon_python_lib-0.1.17.dist-info}/RECORD +10 -9
- {sycommon_python_lib-0.1.15.dist-info → sycommon_python_lib-0.1.17.dist-info}/WHEEL +0 -0
- {sycommon_python_lib-0.1.15.dist-info → sycommon_python_lib-0.1.17.dist-info}/entry_points.txt +0 -0
- {sycommon_python_lib-0.1.15.dist-info → sycommon_python_lib-0.1.17.dist-info}/top_level.txt +0 -0
sycommon/logging/kafka_log.py
CHANGED
|
@@ -72,7 +72,7 @@ class KafkaLogger(metaclass=SingletonMeta):
|
|
|
72
72
|
connections_max_idle_ms=540000, # 连接最大空闲时间
|
|
73
73
|
reconnect_backoff_max_ms=10000, # 增加重连退避最大时间
|
|
74
74
|
max_in_flight_requests_per_connection=1, # 限制单个连接上未确认的请求数量
|
|
75
|
-
enable_idempotence=True, # 开启幂等性
|
|
75
|
+
# enable_idempotence=True, # 开启幂等性
|
|
76
76
|
)
|
|
77
77
|
|
|
78
78
|
# 启动后台发送线程
|