Class KafkaTableWriter
- 
Nested Class SummaryNested ClassesModifier and TypeClassDescriptionstatic classA builder class containing the options for Kafka ingestion.
- 
Field SummaryFields
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionstatic voidconsumeToDis(@NotNull KafkaTableWriter.Options options) Consume a Kafka stream to a persistent Deephaven table.static @NotNull io.deephaven.shadow.enterprise.com.illumon.iris.db.tables.dataimport.logtailer.DataImportServergetDisByName(@NotNull String disName) Retrieve a DataImportServer by name.static @NotNull io.deephaven.shadow.enterprise.com.illumon.iris.db.tables.dataimport.logtailer.DataImportServergetDisByNameWithStorage(@NotNull String disName, @NotNull String storageRoot) Retrieve a DataImportServer by name, specifying the storage root.
- 
Field Details- 
ENABLE_AUTO_COMMIT_PROPERTY- See Also:
 
 
- 
- 
Constructor Details- 
KafkaTableWriterpublic KafkaTableWriter()
 
- 
- 
Method Details- 
consumeToDisConsume a Kafka stream to a persistent Deephaven table.The underlying ingestion is performed by the Deephaven Core KafkaTools class. In particular, the keySpec and valueSpec are Core KeyOrValueSpec objects. - Parameters:
- options- an Options object that describes the ingestion process
 
- 
getDisByName@ScriptApi @NotNull public static @NotNull io.deephaven.shadow.enterprise.com.illumon.iris.db.tables.dataimport.logtailer.DataImportServer getDisByName(@NotNull @NotNull String disName) Retrieve a DataImportServer by name.The DIS is started as part of this call, and can be passed to the KafkaTableWriter.Options.dataImportServer(DataImportServer)function. The DIS can only be started one time, so if you are ingesting multiple tables each with aconsumeToDis(Options)call, then you must call this function first and pass it to each Options structure.If the DIS uses private storage, then you must call getDisByNameWithStorage(String, String).- Parameters:
- disName- the name of the DIS to instantiate and start
- Returns:
- the dis referenced by the given name
 
- 
getDisByNameWithStorage@ScriptApi @NotNull public static @NotNull io.deephaven.shadow.enterprise.com.illumon.iris.db.tables.dataimport.logtailer.DataImportServer getDisByNameWithStorage(@NotNull @NotNull String disName, @NotNull @NotNull String storageRoot) Retrieve a DataImportServer by name, specifying the storage root.The DIS is started as part of this call, and can be passed to the KafkaTableWriter.Options.dataImportServer(DataImportServer)function. The DIS can only be started one time, so if you are ingesting multiple tables each with aconsumeToDis(Options)call, then you must call this function first and pass it to each Options structure.- Parameters:
- disName- the name of the DIS to instantiate and start
- storageRoot- the storage root for DISes configured with "private storage".
- Returns:
- the dis referenced by the given name
 
 
-