Interface KafkaWordCountJson.KafkaStreamingOptions

  • All Superinterfaces:
    org.apache.beam.sdk.transforms.display.HasDisplayData, org.apache.beam.sdk.options.PipelineOptions
    Enclosing class:
    KafkaWordCountJson

    public static interface KafkaWordCountJson.KafkaStreamingOptions
    extends org.apache.beam.sdk.options.PipelineOptions
    • Nested Class Summary

      • Nested classes/interfaces inherited from interface org.apache.beam.sdk.options.PipelineOptions

        org.apache.beam.sdk.options.PipelineOptions.AtomicLongFactory, org.apache.beam.sdk.options.PipelineOptions.CheckEnabled, org.apache.beam.sdk.options.PipelineOptions.DirectRunner, org.apache.beam.sdk.options.PipelineOptions.JobNameFactory, org.apache.beam.sdk.options.PipelineOptions.UserAgentFactory
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      java.lang.String getKafkaHost()
      By default, this example uses Playground's Kafka server.
      void setKafkaHost​(java.lang.String value)  
      • Methods inherited from interface org.apache.beam.sdk.transforms.display.HasDisplayData

        populateDisplayData
      • Methods inherited from interface org.apache.beam.sdk.options.PipelineOptions

        as, getJobName, getOptionsId, getRunner, getStableUniqueNames, getTempLocation, getUserAgent, outputRuntimeOptions, revision, setJobName, setOptionsId, setRunner, setStableUniqueNames, setTempLocation, setUserAgent
    • Method Detail

      • getKafkaHost

        @String("kafka_server:9092")
        java.lang.String getKafkaHost()
        By default, this example uses Playground's Kafka server. Set this option to different value to use your own Kafka server.
      • setKafkaHost

        void setKafkaHost​(java.lang.String value)