Uploaded image for project: 'Nuxeo Platform'
  1. Nuxeo Platform
  2. NXP-31621

Make Kafka replication factor param optional

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2023.0, 2021.34
    • Component/s: Streams
    • Release Notes Summary:
      It is now possible to rely on Kafka broker configuration for topic replication factor
    • Tags:
    • Upgrade notes:
      Hide

      Nuxeo is now relying on the default Kafka broker topic replication factor when creating a new topic. This is configured with kafka.default.replication.factor=-1.
      Note that it works only with Kafka cluster >= 2.4, if you want to use an older Kafka cluster, you have to set explicitly the replication factor in Nuxeo to something > 0.

      Show
      Nuxeo is now relying on the default Kafka broker topic replication factor when creating a new topic. This is configured with kafka.default.replication.factor=-1 . Note that it works only with Kafka cluster >= 2.4, if you want to use an older Kafka cluster, you have to set explicitly the replication factor in Nuxeo to something > 0.
    • Team:
      PLATFORM
    • Sprint:
      nxplatform #80
    • Story Points:
      3

      Description

      Today, the kafka.default.replication.factor option from nuxeo.conf is explicitly used when Nuxeo creates topics.
      There is no way to rely on the Kafka broker setting (default.replication.factor).

      This means that Nuxeo must have knowledge on how Kafka is deployed which is not great, this nuxeo.conf parameter should be optional.

        Attachments

          Activity

            People

            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: