java.lang.Object
io.camunda.zeebe.engine.processing.streamprocessor.writers.Writers

public final class Writers extends Object
Convenience class to aggregate all the writers
  • Constructor Details

  • Method Details

    • command

      public TypedCommandWriter command()
      Returns:
      the writer, which is used by the processors to write (follow-up) commands
    • rejection

      public TypedRejectionWriter rejection()
      Returns:
      the writer, which is used by the processors to write command rejections
    • state

      public StateWriter state()
      Returns:
      the writer of events that also changes state for each event it writes
    • response

      public TypedResponseWriter response()
      Note: flush() must not be called on the response writer object. This is done centrally
      Returns:
      the response writer, which is used during processing