Uploaded image for project: 'Kafka'
  1. Kafka
  2. KAFKA-17627

ConfigProvider TTLs do not restart Tasks

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Patch Available
    • Major
    • Resolution: Unresolved
    • 2.0.0
    • None
    • connect

    Description

      The ConfigProvider interface allows for implementations to provide configurations with an accompanying Time To Live, a lifetime that the returned value is valid for. Callers which receive a TTL should periodically call the ConfigProvider to refresh and receive any updated value.

      The WorkerConfigTransformer is responsible for accepting TTLs from ConfigProviders, and scheduling restarts for connectors to force them to refresh their externalized configurations.

      Since the introduction of the ConfigProvider interface in 2.0.0, when the WorkerConfigTransformer processes task configurations, it schedules a restart of the connector, which may or may not be present on the running machine. Instead, when secrets for a task include a TTL, the task should be restarted directly.

      Attachments

        Issue Links

          Activity

            People

              SpacRocket Spacrocket
              gharris1727 Greg Harris
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated: