Class FilebeatIngester

    • Field Summary

      Fields 
      Modifier and Type Field Description
      protected static Logger logger  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void onChannelInitializeException​(io.netty.channel.ChannelHandlerContext ctx, Throwable cause)
      Called when a error occur in the channel initialize, usually ssl handshake error.
      void onConnectionClose​(io.netty.channel.ChannelHandlerContext ctx)
      Triggered when a connection is close on the remote end and we need to flush buffered events to the queue.
      void onException​(io.netty.channel.ChannelHandlerContext ctx, Throwable cause)
      Called went something bad occur in the pipeline, allow to clear buffered codec went somethign goes wrong.
      void onNewConnection​(io.netty.channel.ChannelHandlerContext ctx)
      Triggered when a new client connect to the input, this is used to link a connection to a codec in the ruby world.
      void onNewMessage​(io.netty.channel.ChannelHandlerContext ctx, Message message)
      This is triggered on every new message parsed by the beats handler and should be executed in the ruby world.
    • Field Detail

      • logger

        protected static final Logger logger
    • Method Detail

      • onNewMessage

        public void onNewMessage​(io.netty.channel.ChannelHandlerContext ctx,
                                 Message message)
        Description copied from interface: IMessageListener
        This is triggered on every new message parsed by the beats handler and should be executed in the ruby world.
        Specified by:
        onNewMessage in interface IMessageListener
      • onNewConnection

        public void onNewConnection​(io.netty.channel.ChannelHandlerContext ctx)
        Description copied from interface: IMessageListener
        Triggered when a new client connect to the input, this is used to link a connection to a codec in the ruby world.
        Specified by:
        onNewConnection in interface IMessageListener
      • onConnectionClose

        public void onConnectionClose​(io.netty.channel.ChannelHandlerContext ctx)
        Description copied from interface: IMessageListener
        Triggered when a connection is close on the remote end and we need to flush buffered events to the queue.
        Specified by:
        onConnectionClose in interface IMessageListener
      • onException

        public void onException​(io.netty.channel.ChannelHandlerContext ctx,
                                Throwable cause)
        Description copied from interface: IMessageListener
        Called went something bad occur in the pipeline, allow to clear buffered codec went somethign goes wrong.
        Specified by:
        onException in interface IMessageListener
      • onChannelInitializeException

        public void onChannelInitializeException​(io.netty.channel.ChannelHandlerContext ctx,
                                                 Throwable cause)
        Description copied from interface: IMessageListener
        Called when a error occur in the channel initialize, usually ssl handshake error.
        Specified by:
        onChannelInitializeException in interface IMessageListener