Interface KafkaMessageExecutionContext

All Superinterfaces:
BaseExecutionContext, NativeMessageExecutionContext

public interface KafkaMessageExecutionContext extends NativeMessageExecutionContext
Message execution context specialized for Kafka.
Author:
Jeoffrey HAEYAERT (jeoffrey.haeyaert at graviteesource.com), GraviteeSource Team
  • Field Details

  • Method Details

    • executionContext

      KafkaExecutionContext executionContext()
      Access the execution context.
      Returns:
      the execution context.
    • request

      Get the current request attached to this execution context.
      Returns:
      the request.
    • response

      Get the current response attached to this execution context when it is available.
      Returns:
      the response.
    • principal

      org.apache.kafka.common.security.auth.KafkaPrincipal principal()
      Access the principal of the current execution context.
      Returns:
      the principal of the current execution context.
    • getTemplateEngine

      io.gravitee.el.TemplateEngine getTemplateEngine(KafkaMessage message)
      Get the TemplateEngine that can be used to evaluate EL expressions.
      Parameters:
      message - the message to evaluate.
      Returns:
      the El TemplateEngine.