Uploaded image for project: 'Flink'
  1. Flink
  2. FLINK-32172

KafkaExample can not run with args

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Not a Priority
    • Resolution: Fixed
    • 1.16.0
    • 1.18.0, 1.16.3, 1.17.2
    • Connectors / Kafka
    • None
      • win11
      • Git
      • Maven (we recommend version 3.8.6)
      • Java 11

    Description

      i fork and clone flink-connector-kafka repo. after build and package, i run org/apache/flink/streaming/kafka/test/KafkaExample.java main() but failed,

      comment say:
      Example usage: --input-topic test-input --output-topic test-output --bootstrap.servers

      • localhost:9092 --group.id myconsumer
         
        but console print: Missing parameters!  from KafkaExampleUtil where need 5 paramters but we have 4
         
        thank you for your attention to this matter

      Attachments

        1. args.png
          27 kB
          Longfeng Xu
        2. kafkaexample.png
          45 kB
          Longfeng Xu

        Activity

          People

            Weijie Guo Weijie Guo
            xulongfeng2018 Longfeng Xu
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: