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

Rework FlinkKafkaConsumerBestTest to not use Java reflection for dependency injection

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.4.1, 1.5.0
    • Component/s: Kafka Connector, Tests
    • Labels:
      None

      Description

      The current FlinkKafkaConsumerBaseTest is heavily relying on Java reflection for dependency injection. Using reflection to compose unit tests really should be a last resort, and indicates that the tests there are highly implementation-specific, and that we should make the design more testable.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                tzulitai Tzu-Li (Gordon) Tai
                Reporter:
                tzulitai Tzu-Li (Gordon) Tai
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: