Class EventReceiverFirehoseFactory
- java.lang.Object
-
- org.apache.druid.segment.realtime.firehose.EventReceiverFirehoseFactory
-
- All Implemented Interfaces:
org.apache.druid.data.input.FirehoseFactory<org.apache.druid.data.input.impl.InputRowParser<Map<String,Object>>>
@Deprecated public class EventReceiverFirehoseFactory extends Object implements org.apache.druid.data.input.FirehoseFactory<org.apache.druid.data.input.impl.InputRowParser<Map<String,Object>>>
Deprecated.Builds firehoses that accept events through theEventReceiverinterface. Can also register these firehoses with anServiceAnnouncingChatHandlerProvider.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description classEventReceiverFirehoseFactory.EventReceiverFirehoseDeprecated.Apart from adhering toFirehosecontract regarding concurrency, this class has two methods that might be called concurrently with any other methods and each other, from arbitrary number of threads:EventReceiverFirehoseFactory.EventReceiverFirehose.addAll(java.io.InputStream, javax.servlet.http.HttpServletRequest)andEventReceiverFirehoseFactory.EventReceiverFirehose.shutdown(java.lang.String, javax.servlet.http.HttpServletRequest).
-
Field Summary
Fields Modifier and Type Field Description static intMAX_FIREHOSE_PRODUCERSDeprecated.
-
Constructor Summary
Constructors Constructor Description EventReceiverFirehoseFactory(String serviceName, Integer bufferSize, Long maxIdleTimeMillis, ChatHandlerProvider chatHandlerProvider, com.fasterxml.jackson.databind.ObjectMapper jsonMapper, com.fasterxml.jackson.databind.ObjectMapper smileMapper, EventReceiverFirehoseRegister eventReceiverFirehoseRegister, AuthorizerMapper authorizerMapper)Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description org.apache.druid.data.input.Firehoseconnect(org.apache.druid.data.input.impl.InputRowParser<Map<String,Object>> firehoseParser, File temporaryDirectory)Deprecated.intgetBufferSize()Deprecated.longgetMaxIdleTimeMillis()Deprecated.Keeping the legacy 'maxIdleTime' property name for backward compatibility.StringgetServiceName()Deprecated.
-
-
-
Field Detail
-
MAX_FIREHOSE_PRODUCERS
public static final int MAX_FIREHOSE_PRODUCERS
Deprecated.- See Also:
- Constant Field Values
-
-
Constructor Detail
-
EventReceiverFirehoseFactory
public EventReceiverFirehoseFactory(String serviceName, Integer bufferSize, @Nullable Long maxIdleTimeMillis, ChatHandlerProvider chatHandlerProvider, com.fasterxml.jackson.databind.ObjectMapper jsonMapper, com.fasterxml.jackson.databind.ObjectMapper smileMapper, EventReceiverFirehoseRegister eventReceiverFirehoseRegister, AuthorizerMapper authorizerMapper)
Deprecated.
-
-
Method Detail
-
connect
public org.apache.druid.data.input.Firehose connect(org.apache.druid.data.input.impl.InputRowParser<Map<String,Object>> firehoseParser, File temporaryDirectory)
Deprecated.
-
getServiceName
public String getServiceName()
Deprecated.
-
getBufferSize
public int getBufferSize()
Deprecated.
-
getMaxIdleTimeMillis
public long getMaxIdleTimeMillis()
Deprecated.Keeping the legacy 'maxIdleTime' property name for backward compatibility. When the project is updated to Jackson 2.9 it could be changed, see https://github.com/apache/druid/issues/7152
-
-