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

Spurious warnings logged to stderr about empty path annotations and providers not implementing provider interfaces

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 3.6.0, 3.7.0, 3.6.1, 3.6.2, 3.8.0
    • 3.6.2, 3.8.0
    • connect
    • None

    Description

      Some warnings get logged to stderr on Connect startup. For example:

      Jan 08, 2024 1:48:18 PM org.glassfish.jersey.internal.inject.Providers checkProviderRuntime

      WARNING: A provider org.apache.kafka.connect.runtime.rest.resources.RootResource registered in SERVER runtime does not implement any provider interfaces applicable in the SERVER runtime. Due to constraint configuration problems the provider org.apache.kafka.connect.runtime.rest.resources.RootResource will be ignored.

      Jan 08, 2024 1:48:18 PM org.glassfish.jersey.internal.inject.Providers checkProviderRuntime

      WARNING: A provider org.apache.kafka.connect.runtime.rest.resources.ConnectorsResource registered in SERVER runtime does not implement any provider interfaces applicable in the SERVER runtime. Due to constraint configuration problems the provider org.apache.kafka.connect.runtime.rest.resources.ConnectorsResource will be ignored.

      Jan 08, 2024 1:48:18 PM org.glassfish.jersey.internal.inject.Providers checkProviderRuntime

      WARNING: A provider org.apache.kafka.connect.runtime.rest.resources.InternalConnectResource registered in SERVER runtime does not implement any provider interfaces applicable in the SERVER runtime. Due to constraint configuration problems the provider org.apache.kafka.connect.runtime.rest.resources.InternalConnectResource will be ignored.

      Jan 08, 2024 1:48:18 PM org.glassfish.jersey.internal.inject.Providers checkProviderRuntime

      WARNING: A provider org.apache.kafka.connect.runtime.rest.resources.ConnectorPluginsResource registered in SERVER runtime does not implement any provider interfaces applicable in the SERVER runtime. Due to constraint configuration problems the provider org.apache.kafka.connect.runtime.rest.resources.ConnectorPluginsResource will be ignored.

      Jan 08, 2024 1:48:18 PM org.glassfish.jersey.internal.inject.Providers checkProviderRuntime

      WARNING: A provider org.apache.kafka.connect.runtime.rest.resources.LoggingResource registered in SERVER runtime does not implement any provider interfaces applicable in the SERVER runtime. Due to constraint configuration problems the provider org.apache.kafka.connect.runtime.rest.resources.LoggingResource will be ignored.

      Jan 08, 2024 1:48:19 PM org.glassfish.jersey.internal.Errors logErrors

      WARNING: The following warnings have been detected: WARNING: The (sub)resource method listLoggers in org.apache.kafka.connect.runtime.rest.resources.LoggingResource contains empty path annotation.

      WARNING: The (sub)resource method listConnectors in org.apache.kafka.connect.runtime.rest.resources.ConnectorsResource contains empty path annotation.

      WARNING: The (sub)resource method createConnector in org.apache.kafka.connect.runtime.rest.resources.ConnectorsResource contains empty path annotation.

      WARNING: The (sub)resource method listConnectorPlugins in org.apache.kafka.connect.runtime.rest.resources.ConnectorPluginsResource contains empty path annotation.

      WARNING: The (sub)resource method serverInfo in org.apache.kafka.connect.runtime.rest.resources.RootResource contains empty path annotation.

      These are benign, but can confuse and even frighten new users.

      Attachments

        Issue Links

          Activity

            People

              ChrisEgerton Chris Egerton
              ChrisEgerton Chris Egerton
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: