producer.py 284 B

1234567891011
  1. # Copyright © 2023 Ingram Micro Inc. All rights reserved.
  2. from dj_cqrs.transport import current_transport
  3. def produce(payload):
  4. """Producer controller.
  5. :param dj_cqrs.dataclasses.TransportPayload payload: TransportPayload.
  6. """
  7. current_transport.produce(payload)