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

FlinkKafkaProducer010 does not accept name, uid, or parallelism

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.3.2, 1.4.0
    • 1.3.4, 1.4.0
    • Connectors / Kafka
    • None

    Description

      As reported on the user list:

      When I try to use KafkaProducer with timestamps it fails to set name, uid or parallelism. It uses default values.

      FlinkKafkaProducer010.FlinkKafkaProducer010Configuration<T> producer = FlinkKafkaProducer010
          .writeToKafkaWithTimestamps(stream, topicName, schema, props, partitioner);
      producer.setFlushOnCheckpoint(flushOnCheckpoint);
      producer.name("foo")
              .uid("bar")
              .setParallelism(5);
      
      return producer;
      

      As operator name it shows "FlinKafkaProducer 0.10.x” with the typo.

      Attachments

        Activity

          People

            xccui Xingcan Cui
            fhueske Fabian Hueske
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: