Uploaded image for project: 'Camel'
  1. Camel
  2. CAMEL-17255

interface KafkaClientFactory methods must return interfaces instead classes

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 3.11.3
    • 3.14.0
    • camel-kafka
    • None
    • Unknown

    Description

      interface KafkaClientFactory mast return Consumer interface insted KafkaConsumer class.

      Example usage: Mocking for testing when creating Extended Consumer.

      Same for Producer

      Attachments

        Activity

          People

            davsclaus Claus Ibsen
            otr_kuznetsov.sergei Sergey Smith
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: