Class KinesisDataServerStartable
- java.lang.Object
-
- org.apache.pinot.plugin.stream.kinesis.server.KinesisDataServerStartable
-
- All Implemented Interfaces:
StreamDataServerStartable
public class KinesisDataServerStartable extends Object implements StreamDataServerStartable
-
-
Field Summary
Fields Modifier and Type Field Description static StringDEFAULT_ACCESS_KEYstatic StringDEFAULT_PORTstatic StringDEFAULT_REGIONstatic StringDEFAULT_SECRET_KEYstatic StringNUM_SHARDS_PROPERTY
-
Constructor Summary
Constructors Constructor Description KinesisDataServerStartable()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidcreateTopic(String topic, Properties topicProps)intgetPort()voidinit(Properties props)voidstart()voidstop()
-
-
-
Field Detail
-
NUM_SHARDS_PROPERTY
public static final String NUM_SHARDS_PROPERTY
- See Also:
- Constant Field Values
-
DEFAULT_REGION
public static final String DEFAULT_REGION
- See Also:
- Constant Field Values
-
DEFAULT_ACCESS_KEY
public static final String DEFAULT_ACCESS_KEY
- See Also:
- Constant Field Values
-
DEFAULT_SECRET_KEY
public static final String DEFAULT_SECRET_KEY
- See Also:
- Constant Field Values
-
DEFAULT_PORT
public static final String DEFAULT_PORT
- See Also:
- Constant Field Values
-
-
Method Detail
-
init
public void init(Properties props)
- Specified by:
initin interfaceStreamDataServerStartable
-
start
public void start()
- Specified by:
startin interfaceStreamDataServerStartable
-
stop
public void stop()
- Specified by:
stopin interfaceStreamDataServerStartable
-
createTopic
public void createTopic(String topic, Properties topicProps)
- Specified by:
createTopicin interfaceStreamDataServerStartable
-
getPort
public int getPort()
- Specified by:
getPortin interfaceStreamDataServerStartable
-
-