Class BeatsMessageServerFactory
java.lang.Object
org.apache.nifi.event.transport.netty.NettyEventServerFactory
org.apache.nifi.processors.beats.server.BeatsMessageServerFactory
- All Implemented Interfaces:
org.apache.nifi.event.transport.EventServerFactory
public class BeatsMessageServerFactory
extends org.apache.nifi.event.transport.netty.NettyEventServerFactory
Beats Message Protocol extends of Netty Event Server Factory
-
Constructor Summary
ConstructorsConstructorDescriptionBeatsMessageServerFactory(ComponentLog log, InetAddress address, int port, BlockingQueue<BatchMessage> events) Beats Message Server Factory constructor with standard configuration arguments -
Method Summary
Modifier and TypeMethodDescriptionprotected io.netty.channel.EventLoopGroupvoidsetThreadNamePrefix(String arg0) voidsetWorkerThreads(int arg0) Methods inherited from class org.apache.nifi.event.transport.netty.NettyEventServerFactory
getEventServer, setBufferAllocator, setClientAuth, setHandlerSupplier, setIdleTimeout, setShutdownQuietPeriod, setShutdownTimeout, setSocketKeepAlive, setSocketReceiveBuffer, setSslContext, setSslParameters
-
Constructor Details
-
BeatsMessageServerFactory
public BeatsMessageServerFactory(ComponentLog log, InetAddress address, int port, BlockingQueue<BatchMessage> events) Beats Message Server Factory constructor with standard configuration arguments- Parameters:
log- Component Logaddress- Server Addressport- Server Port Numberevents- Blocking Queue for events received
-
-
Method Details
-
setThreadNamePrefix
-
setWorkerThreads
public void setWorkerThreads(int arg0) -
getEventLoopGroup
protected io.netty.channel.EventLoopGroup getEventLoopGroup()
-