Interface EventManager

All Known Implementing Classes:
KafkaClient

public interface EventManager
Interface that models a manager that is able to obtain event from the external.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    poll(Consumer<Event<?>> eventConsumer)
    Method used to consume events via polling providing a consumer to process them.
  • Method Details

    • poll

      void poll(Consumer<Event<?>> eventConsumer)
      Method used to consume events via polling providing a consumer to process them.
      Parameters:
      eventConsumer - the consumer used to consume the event.