Skip to content

v3.0.0rc3

Pre-release
Pre-release
Compare
Choose a tag to compare
@JonatanMartens JonatanMartens released this 21 Jul 13:21
56ac440

Changes

  • ZeebeWorker and ZeebeClient now accept a grpc.aio.Channel instance in their constructor instead of connection parameters (hostname, port etc.)
  • Add three easy ways to create a grpc channel:
    • create_insecure_channel
    • create_secure_channel
    • create_camunda_cloud_channel

New API example:

from pyzeebe import ZeebeWorker, ZeebeClient, create_insecure_channel

channel = create_insecure_channel("hostname", 26500)
worker = ZeebeWorker(channel)
client = ZeebeClient(channel)