Class ConfluentSettings
EnvironmentSettings.
Pass these settings into TableEnvironment.create(EnvironmentSettings) for talking to
Confluent Cloud.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classBuilder pattern for a fluent definition of Confluent-specificEnvironmentSettings. -
Method Summary
Modifier and TypeMethodDescriptionstatic EnvironmentSettingsEntrypoint for Confluent-specificEnvironmentSettings.static EnvironmentSettingsEntrypoint for Confluent-specificEnvironmentSettings.static EnvironmentSettingsstatic EnvironmentSettingsstatic EnvironmentSettingsEntrypoint for Confluent-specificEnvironmentSettings.static EnvironmentSettingsfromResource(String resourcePath) Entrypoint for Confluent-specificEnvironmentSettings.static ConfluentSettings.BuilderCreates a builder for Confluent-specificEnvironmentSettings.static ConfluentSettings.BuildernewBuilderFromArgs(String[] args) Creates a builder for Confluent-specificEnvironmentSettings.static ConfluentSettings.BuildernewBuilderFromFile(File file) Creates a builder for Confluent-specificEnvironmentSettings.static ConfluentSettings.BuildernewBuilderFromFile(String filePath) Creates a builder for Confluent-specificEnvironmentSettings.static ConfluentSettings.BuildernewBuilderFromResource(String resourcePath) Creates a builder for Confluent-specificEnvironmentSettings.
-
Method Details
-
fromGlobalVariables
Entrypoint for Confluent-specificEnvironmentSettings.It reads all required configuration from global environment variables.
Use
newBuilder()for further customization.ConfluentPluginOptions.VAR_FLINK_PROPERTIEScan be used to definefromFile(File)via an environment variable. -
fromArgs
Entrypoint for Confluent-specificEnvironmentSettings.This method parses required configuration from Java's
main(String[] args). It conveniently enables passing arguments. For example:java -jar MyTableApiProgram.jar --environment-id env-z3y2x1 --organization-id b0b21724-4586-4a07-b787-d0bb5aacbf87.Global environment variables are the fallback.
ConfluentPluginOptions.VAR_FLINK_PROPERTIEScan be used to definefromFile(File)via an environment variable. UsenewBuilderFromArgs(String[])for further customization. SeeConfluentPluginOptions.ARG_OPTIONSfor more information. -
fromFile
- See Also:
-
fromFile
- See Also:
-
fromFile
Entrypoint for Confluent-specificEnvironmentSettings.This method parses required configuration from a properties file.
Global environment variables are the fallback. Use
newBuilderFromFile(File)for further customization.ConfluentPluginOptions.VAR_FLINK_PROPERTIEScan be used to define a path via an environment variable. -
fromResource
Entrypoint for Confluent-specificEnvironmentSettings.This method parses required configuration from a properties file located in project resources.
Global environment variables are the fallback. Use
newBuilderFromResource(String)for further customization. -
newBuilder
Creates a builder for Confluent-specificEnvironmentSettings.Global environment variables are the fallback.
ConfluentPluginOptions.VAR_FLINK_PROPERTIEScan be used to definefromFile(File)via an environment variable. -
newBuilderFromArgs
Creates a builder for Confluent-specificEnvironmentSettings.This method parses required configuration from Java's
main(String[] args). It conveniently enables passing arguments. For example:java -jar MyTableApiProgram.jar --environment-id env-z3y2x1 --organization-id b0b21724-4586-4a07-b787-d0bb5aacbf87.Global environment variables are the fallback.
ConfluentPluginOptions.VAR_FLINK_PROPERTIEScan be used to define a properties file that is applied before the given arguments (arguments take precedence, following last-writer-wins semantics). SeeConfluentPluginOptions.ARG_OPTIONSfor more information.Options set in the builder have the highest precedence.
-
newBuilderFromResource
Creates a builder for Confluent-specificEnvironmentSettings.This method parses required configuration from a properties file located in project resources.
Global environment variables are the fallback.
Options set in the builder have the highest precedence.
-
newBuilderFromFile
Creates a builder for Confluent-specificEnvironmentSettings.This method parses required configuration from a properties file.
Global environment variables are the fallback.
Options set in the builder have the highest precedence.
-
newBuilderFromFile
Creates a builder for Confluent-specificEnvironmentSettings.This method parses required configuration from a properties file.
Global environment variables are the fallback.
Options set in the builder have the highest precedence.
-