Uploaded image for project: 'Subscription Watch'
  1. Subscription Watch
  2. SWATCH-2329

Replace the deprecated methods from KafkaProperties

XMLWordPrintable

    • Icon: Task Task
    • Resolution: Done
    • Icon: Undefined Undefined
    • 2024-03-19 - API
    • None
    • None

      When building the sources, we see many warnings messages saying:

      > Task :swatch-system-conduit:compileJava
      /home/jcarvaja/sources/RedHatInsights/rhsm-subscriptions/swatch-system-conduit/src/main/java/org/candlepin/subscriptions/conduit/inventory/kafka/InventoryServiceKafkaConfigurator.java:43: warning: [removal] buildProducerProperties() in KafkaProperties has been deprecated and marked for removal
          Map<String, Object> producerConfig = kafkaProperties.buildProducerProperties();
      

      Acceptance Criteria

      • Replace the deprecated KafkaProperties.buildProducerProperties() and KafkaProperties.buildConsumerProperties() methods
      • No warning messages should be printed when building the repository

              jcarvaja@redhat.com Jose Carvajal Hilario
              jcarvaja@redhat.com Jose Carvajal Hilario
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: