pytest-kafka-broker 0.4.0__py3-none-any.whl → 0.5.0__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.
@@ -215,7 +215,9 @@ async def kafka_broker(
215
215
  port.cancel()
216
216
  raise RuntimeError("Kafka broker terminated unexpectedly")
217
217
  try:
218
- yield KafkaBrokerContext(f"127.0.0.1:{plaintext_port}")
218
+ bootstrap_server = f"127.0.0.1:{plaintext_port}"
219
+ print(f"Kafka broker running at {bootstrap_server}")
220
+ yield KafkaBrokerContext(bootstrap_server)
219
221
  finally:
220
222
  with Status("Stopping Kafka broker"):
221
223
  try:
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: pytest-kafka-broker
3
- Version: 0.4.0
3
+ Version: 0.5.0
4
4
  Summary: Pytest plugin to run a single-broker Kafka cluster
5
5
  Author-email: Leo Singer <leo.singer@ligo.org>
6
6
  License-Expression: Apache-2.0
@@ -0,0 +1,7 @@
1
+ pytest_kafka_broker/__init__.py,sha256=N7nTmm22Dp8TCWDImJysySVDs0eq9k-DrW1swiwBNOs,7415
2
+ pytest_kafka_broker/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
3
+ pytest_kafka_broker-0.5.0.dist-info/METADATA,sha256=UQHkABMoQmBsZptt6rPAHnQpnuO5-sMbF7K_oLBJkpc,683
4
+ pytest_kafka_broker-0.5.0.dist-info/WHEEL,sha256=wUyA8OaulRlbfwMtmQsvNngGrxQHAvkKcvRmdizlJi0,92
5
+ pytest_kafka_broker-0.5.0.dist-info/entry_points.txt,sha256=mjFsRbu6FOiZkUOlSaXpo4QdLHwniNB-p_NEIgRbDnw,46
6
+ pytest_kafka_broker-0.5.0.dist-info/top_level.txt,sha256=nTrYx9xVeK5hsqbhBRL2bgBV_ea-J66_f4Dk8eD-Ci0,20
7
+ pytest_kafka_broker-0.5.0.dist-info/RECORD,,
@@ -1,7 +0,0 @@
1
- pytest_kafka_broker/__init__.py,sha256=c3QqN1zeed-X-IoL1aAKqY6h10GfGpkuo1-WJEBKuVs,7310
2
- pytest_kafka_broker/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
3
- pytest_kafka_broker-0.4.0.dist-info/METADATA,sha256=kSMiKX3AjTfzvBbOPUaOxyK36IA-SM0MWRuaHE-18SA,683
4
- pytest_kafka_broker-0.4.0.dist-info/WHEEL,sha256=wUyA8OaulRlbfwMtmQsvNngGrxQHAvkKcvRmdizlJi0,92
5
- pytest_kafka_broker-0.4.0.dist-info/entry_points.txt,sha256=mjFsRbu6FOiZkUOlSaXpo4QdLHwniNB-p_NEIgRbDnw,46
6
- pytest_kafka_broker-0.4.0.dist-info/top_level.txt,sha256=nTrYx9xVeK5hsqbhBRL2bgBV_ea-J66_f4Dk8eD-Ci0,20
7
- pytest_kafka_broker-0.4.0.dist-info/RECORD,,