Package org.apache.pinot.spi.stream
Class StreamDataProvider
- java.lang.Object
-
- org.apache.pinot.spi.stream.StreamDataProvider
-
public class StreamDataProvider extends Object
StreamDataProvider provides StreamDataServerStartable and StreamDataProducer based on given implementation class name. E.g. KafkaDataServerStartable, KafkaDataProducer.
-
-
Method Summary
Modifier and Type Method Description static StreamDataServerStartablegetServerDataStartable(String clazz, Properties props)static StreamDataProducergetStreamDataProducer(String clazz, Properties props)
-
-
-
Method Detail
-
getServerDataStartable
public static StreamDataServerStartable getServerDataStartable(String clazz, Properties props) throws Exception
- Throws:
Exception
-
getStreamDataProducer
public static StreamDataProducer getStreamDataProducer(String clazz, Properties props) throws Exception
- Throws:
Exception
-
-