Class ProxyService


  • public final class ProxyService
    extends java.lang.Object
    • Constructor Summary

      Constructors 
      Constructor Description
      ProxyService​(@NonNull ProxyConfig config)
      Constructor reviews the content of the config file and sets up the appropriate lineage streams.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.util.concurrent.CompletableFuture<java.lang.Void> proxyEventAsync​(@NonNull java.lang.String eventAsString)
      process an incoming event by sending it to all configured lineage streams.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • ProxyService

        public ProxyService​(@NonNull
                            @NonNull ProxyConfig config)
        Constructor reviews the content of the config file and sets up the appropriate lineage streams.
        Parameters:
        config - configuration properties supplied to the application
    • Method Detail

      • proxyEventAsync

        public java.util.concurrent.CompletableFuture<java.lang.Void> proxyEventAsync​(@NonNull
                                                                                      @NonNull java.lang.String eventAsString)
        process an incoming event by sending it to all configured lineage streams.
        Parameters:
        eventAsString - incoming event
        Returns:
        completion future