buz 2.15.6__py3-none-any.whl → 2.15.7__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.
@@ -114,7 +114,7 @@ class BaseBuzAIOKafkaAsyncConsumer(AsyncConsumer):
114
114
 
115
115
  runner = web.AppRunner(app)
116
116
  await runner.setup()
117
- site = web.TCPSite(runner, "localhost", health_check_port)
117
+ site = web.TCPSite(runner, "0.0.0.0", health_check_port)
118
118
  await site.start()
119
119
  return site
120
120
 
@@ -156,16 +156,13 @@ class BaseBuzAIOKafkaAsyncConsumer(AsyncConsumer):
156
156
  f" - Session timeout ms: {self.__session_timeout_ms}\n"
157
157
  f" - Max poll interval ms: {self.__max_poll_interval_ms}\n"
158
158
  f" - Heartbeat interval ms: {self.__heartbeat_interval_ms}\n"
159
- f" - Seconds between executions if there are no tasks in the queue: "
160
- f"{self.__seconds_between_executions_if_there_are_no_tasks_in_the_queue}\n"
161
- f" - Seconds between polls if there are tasks in the queue: "
162
- f"{self.__seconds_between_polls_if_there_are_tasks_in_the_queue}\n"
163
- f" - Seconds between polls if there are no new tasks: "
164
- f"{self.__seconds_between_polls_if_there_are_no_new_tasks}\n"
159
+ f" - Seconds between executions if there are no tasks in the queue: {self.__seconds_between_executions_if_there_are_no_tasks_in_the_queue}\n"
160
+ f" - Seconds between polls if there are tasks in the queue: {self.__seconds_between_polls_if_there_are_tasks_in_the_queue}\n"
161
+ f" - Seconds between polls if there are no new tasks: {self.__seconds_between_polls_if_there_are_no_new_tasks}\n"
165
162
  f" - Max number of concurrent polling tasks: {self.__max_number_of_concurrent_polling_tasks}\n"
166
163
  f" - Wait for connection to cluster ms: {self.__wait_for_connection_to_cluster_ms}\n"
167
164
  f" - Health check port: {self.__health_check_port}\n"
168
- f" - Number of subscribers: {len(self.__subscribers)}"
165
+ f" - Number of subscribers: {len(self.__subscribers)}",
169
166
  )
170
167
 
171
168
  async def __handle_graceful_stop(self, worker_errors: tuple[Optional[Exception], Optional[Exception]]) -> None:
@@ -234,7 +231,7 @@ class BaseBuzAIOKafkaAsyncConsumer(AsyncConsumer):
234
231
  self.__queue_per_consumer_mapper[kafka_consumer] = InMemoryMultiqueueRepository()
235
232
 
236
233
  self._logger.info(
237
- f"initializing consumer group: '{kafka_consumer.get_consumer_group()}' subscribed to the topics: '{kafka_consumer.get_topics()}'"
234
+ f"Initializing consumer group: '{kafka_consumer.get_consumer_group()}' subscribed to the topics: '{kafka_consumer.get_topics()}'"
238
235
  )
239
236
 
240
237
  await kafka_consumer.init()
@@ -152,7 +152,7 @@ class AIOKafkaConsumer:
152
152
  ),
153
153
  )
154
154
 
155
- self.__logger.info(f"initializing connection of consumer with group_id={self.__consumer_group}")
155
+ self.__logger.info(f"Initializing connection of consumer with group_id={self.__consumer_group}")
156
156
 
157
157
  if self.__wait_for_connection_to_cluster_ms is not None:
158
158
  await asyncio.wait_for(self.__consumer.start(), self.__wait_for_connection_to_cluster_ms / 1000)
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: buz
3
- Version: 2.15.6
3
+ Version: 2.15.7
4
4
  Summary: Buz is a set of light, simple and extensible implementations of event, command and query buses.
5
5
  License: MIT
6
6
  Author: Luis Pintado Lozano
@@ -47,7 +47,7 @@ buz/event/exceptions/worker_execution_exception.py,sha256=6mgztvXOCG_9VZ_Jptkk72
47
47
  buz/event/infrastructure/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
48
48
  buz/event/infrastructure/buz_kafka/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
49
49
  buz/event/infrastructure/buz_kafka/async_buz_kafka_event_bus.py,sha256=SyLblUVlwWOaNfZzK7vL6Ee4m-85vZVCH0rjOgqVAww,4913
50
- buz/event/infrastructure/buz_kafka/base_buz_aiokafka_async_consumer.py,sha256=y8ZgJ11yfd9aARnZifTBNntlbDlj5mTiTtEsA5_72Dw,18672
50
+ buz/event/infrastructure/buz_kafka/base_buz_aiokafka_async_consumer.py,sha256=FDIz3Usv4ZQrA1_jmfAwv_Nmml3QDHBGt6CyRK0IWiU,18623
51
51
  buz/event/infrastructure/buz_kafka/buz_aiokafka_async_consumer.py,sha256=lLHUnf9DpfAyB0PN7oBjn-Eyyl0zCHsSnrb6QUigruk,6345
52
52
  buz/event/infrastructure/buz_kafka/buz_aiokafka_multi_threaded_consumer.py,sha256=CiuNTns6eifR2JNGhXGNTdWURu-IQVIioe5n_pMSt9s,6288
53
53
  buz/event/infrastructure/buz_kafka/buz_kafka_event_bus.py,sha256=ymRSvcYVgbVCPgHN6rMBVBHQ5heCSwCDl6EffyqGVX8,4601
@@ -164,7 +164,7 @@ buz/kafka/domain/services/kafka_admin_test_client.py,sha256=91l_vFIo1yhJLQQCC_Om
164
164
  buz/kafka/domain/services/kafka_producer.py,sha256=8bLTV328orrPHcARzkc6no4vyJzrArVtCsjmSRXDjos,506
165
165
  buz/kafka/infrastructure/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
166
166
  buz/kafka/infrastructure/aiokafka/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
167
- buz/kafka/infrastructure/aiokafka/aiokafka_consumer.py,sha256=QyY7f2_E92wfX3Ru2IpLXQvC5Wj814SgDrcwe8inpTA,9102
167
+ buz/kafka/infrastructure/aiokafka/aiokafka_consumer.py,sha256=xk_812Ah4hxSnAYnpHgbAnwIcvzaCmPY7rBtxo7UcpM,9102
168
168
  buz/kafka/infrastructure/aiokafka/aiokafka_producer.py,sha256=LteHKIHpT6MKplwmwsPYMsd2GWNJCzus65XDHCIdoN8,3823
169
169
  buz/kafka/infrastructure/aiokafka/rebalance/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
170
170
  buz/kafka/infrastructure/aiokafka/rebalance/kafka_callback_rebalancer.py,sha256=3l7NkTrCt3rBktVIS73cTmCOvv6eFguoCbGMYIUfCFc,1774
@@ -250,7 +250,7 @@ buz/serializer/message_to_json_bytes_serializer.py,sha256=RGZJ64t4t4Pz2FCASZZCv-
250
250
  buz/wrapper/__init__.py,sha256=GnRdJFcncn-qp0hzDG9dBHLmTJSbHFVjE_yr-MdW_n4,77
251
251
  buz/wrapper/async_to_sync.py,sha256=OfK-vrVUhuN-LLLvekLdMbQYtH0ue5lfbvuasj6ovMI,698
252
252
  buz/wrapper/event_loop.py,sha256=pfBJ1g-8A2a3YgW8Gf9Fg0kkewoh3-wgTy2KIFDyfHk,266
253
- buz-2.15.6.dist-info/LICENSE,sha256=Jytu2S-2SPEgsB0y6BF-_LUxIWY7402fl0JSh36TLZE,1062
254
- buz-2.15.6.dist-info/METADATA,sha256=u5zUavFByKN26H1zpAbr9Mmyo3TPvdq0_9_sGyVCMvM,1597
255
- buz-2.15.6.dist-info/WHEEL,sha256=sP946D7jFCHeNz5Iq4fL4Lu-PrWrFsgfLXbbkciIZwg,88
256
- buz-2.15.6.dist-info/RECORD,,
253
+ buz-2.15.7.dist-info/LICENSE,sha256=Jytu2S-2SPEgsB0y6BF-_LUxIWY7402fl0JSh36TLZE,1062
254
+ buz-2.15.7.dist-info/METADATA,sha256=-987wNb7KXdP6U8KtilvaxhsAI8ugvrJ5PzVDQfQUzg,1597
255
+ buz-2.15.7.dist-info/WHEEL,sha256=sP946D7jFCHeNz5Iq4fL4Lu-PrWrFsgfLXbbkciIZwg,88
256
+ buz-2.15.7.dist-info/RECORD,,
File without changes
File without changes