OSGI declartive services - 4.2











up vote
0
down vote

favorite












Any ideas about these errors:



org.osgi.framework.ServiceException: Service factory returned null. (Component: org.onosproject.kafkaintegration.kafka.KafkaConfigManager (176))
at org.apache.felix.framework.ServiceRegistrationImpl.getFactoryUnchecked(ServiceRegistrationImpl.java:380) ~[?:?]
at org.apache.felix.framework.ServiceRegistrationImpl.getService(ServiceRegistrationImpl.java:247) ~[?:?]
at org.apache.felix.framework.ServiceRegistry.getService(ServiceRegistry.java:350) ~[?:?]
at org.apache.felix.framework.Felix.getService(Felix.java:3737) ~[?:?]
at org.apache.felix.framework.BundleContextImpl.getService(BundleContextImpl.java:470) ~[?:?]
at org.apache.felix.scr.impl.manager.SingleRefPair.getServiceObject(SingleRefPair.java:73) ~[?:?]


Class valueSerializer could not be found.
at org.apache.kafka.common.config.ConfigDef.parseType(ConfigDef.java:204) ~[213:org.apache.servicemix.bundles.kafka-clients:0.8.2.2_1]


mmon.config.ConfigException: Invalid value valueSerializer for configuration value.serializer: Class valueSerializer could not be found.


I know something is wrong with Config properties but I would like to know how can I fix it.










share|improve this question


























    up vote
    0
    down vote

    favorite












    Any ideas about these errors:



    org.osgi.framework.ServiceException: Service factory returned null. (Component: org.onosproject.kafkaintegration.kafka.KafkaConfigManager (176))
    at org.apache.felix.framework.ServiceRegistrationImpl.getFactoryUnchecked(ServiceRegistrationImpl.java:380) ~[?:?]
    at org.apache.felix.framework.ServiceRegistrationImpl.getService(ServiceRegistrationImpl.java:247) ~[?:?]
    at org.apache.felix.framework.ServiceRegistry.getService(ServiceRegistry.java:350) ~[?:?]
    at org.apache.felix.framework.Felix.getService(Felix.java:3737) ~[?:?]
    at org.apache.felix.framework.BundleContextImpl.getService(BundleContextImpl.java:470) ~[?:?]
    at org.apache.felix.scr.impl.manager.SingleRefPair.getServiceObject(SingleRefPair.java:73) ~[?:?]


    Class valueSerializer could not be found.
    at org.apache.kafka.common.config.ConfigDef.parseType(ConfigDef.java:204) ~[213:org.apache.servicemix.bundles.kafka-clients:0.8.2.2_1]


    mmon.config.ConfigException: Invalid value valueSerializer for configuration value.serializer: Class valueSerializer could not be found.


    I know something is wrong with Config properties but I would like to know how can I fix it.










    share|improve this question
























      up vote
      0
      down vote

      favorite









      up vote
      0
      down vote

      favorite











      Any ideas about these errors:



      org.osgi.framework.ServiceException: Service factory returned null. (Component: org.onosproject.kafkaintegration.kafka.KafkaConfigManager (176))
      at org.apache.felix.framework.ServiceRegistrationImpl.getFactoryUnchecked(ServiceRegistrationImpl.java:380) ~[?:?]
      at org.apache.felix.framework.ServiceRegistrationImpl.getService(ServiceRegistrationImpl.java:247) ~[?:?]
      at org.apache.felix.framework.ServiceRegistry.getService(ServiceRegistry.java:350) ~[?:?]
      at org.apache.felix.framework.Felix.getService(Felix.java:3737) ~[?:?]
      at org.apache.felix.framework.BundleContextImpl.getService(BundleContextImpl.java:470) ~[?:?]
      at org.apache.felix.scr.impl.manager.SingleRefPair.getServiceObject(SingleRefPair.java:73) ~[?:?]


      Class valueSerializer could not be found.
      at org.apache.kafka.common.config.ConfigDef.parseType(ConfigDef.java:204) ~[213:org.apache.servicemix.bundles.kafka-clients:0.8.2.2_1]


      mmon.config.ConfigException: Invalid value valueSerializer for configuration value.serializer: Class valueSerializer could not be found.


      I know something is wrong with Config properties but I would like to know how can I fix it.










      share|improve this question













      Any ideas about these errors:



      org.osgi.framework.ServiceException: Service factory returned null. (Component: org.onosproject.kafkaintegration.kafka.KafkaConfigManager (176))
      at org.apache.felix.framework.ServiceRegistrationImpl.getFactoryUnchecked(ServiceRegistrationImpl.java:380) ~[?:?]
      at org.apache.felix.framework.ServiceRegistrationImpl.getService(ServiceRegistrationImpl.java:247) ~[?:?]
      at org.apache.felix.framework.ServiceRegistry.getService(ServiceRegistry.java:350) ~[?:?]
      at org.apache.felix.framework.Felix.getService(Felix.java:3737) ~[?:?]
      at org.apache.felix.framework.BundleContextImpl.getService(BundleContextImpl.java:470) ~[?:?]
      at org.apache.felix.scr.impl.manager.SingleRefPair.getServiceObject(SingleRefPair.java:73) ~[?:?]


      Class valueSerializer could not be found.
      at org.apache.kafka.common.config.ConfigDef.parseType(ConfigDef.java:204) ~[213:org.apache.servicemix.bundles.kafka-clients:0.8.2.2_1]


      mmon.config.ConfigException: Invalid value valueSerializer for configuration value.serializer: Class valueSerializer could not be found.


      I know something is wrong with Config properties but I would like to know how can I fix it.







      apache-kafka osgi






      share|improve this question













      share|improve this question











      share|improve this question




      share|improve this question










      asked Nov 11 at 1:24









      Adib Rastegarnia

      2515




      2515





























          active

          oldest

          votes











          Your Answer






          StackExchange.ifUsing("editor", function () {
          StackExchange.using("externalEditor", function () {
          StackExchange.using("snippets", function () {
          StackExchange.snippets.init();
          });
          });
          }, "code-snippets");

          StackExchange.ready(function() {
          var channelOptions = {
          tags: "".split(" "),
          id: "1"
          };
          initTagRenderer("".split(" "), "".split(" "), channelOptions);

          StackExchange.using("externalEditor", function() {
          // Have to fire editor after snippets, if snippets enabled
          if (StackExchange.settings.snippets.snippetsEnabled) {
          StackExchange.using("snippets", function() {
          createEditor();
          });
          }
          else {
          createEditor();
          }
          });

          function createEditor() {
          StackExchange.prepareEditor({
          heartbeatType: 'answer',
          convertImagesToLinks: true,
          noModals: true,
          showLowRepImageUploadWarning: true,
          reputationToPostImages: 10,
          bindNavPrevention: true,
          postfix: "",
          imageUploader: {
          brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
          contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
          allowUrls: true
          },
          onDemand: true,
          discardSelector: ".discard-answer"
          ,immediatelyShowMarkdownHelp:true
          });


          }
          });














           

          draft saved


          draft discarded


















          StackExchange.ready(
          function () {
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53245043%2fosgi-declartive-services-4-2%23new-answer', 'question_page');
          }
          );

          Post as a guest















          Required, but never shown






























          active

          oldest

          votes













          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes
















           

          draft saved


          draft discarded



















































           


          draft saved


          draft discarded














          StackExchange.ready(
          function () {
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53245043%2fosgi-declartive-services-4-2%23new-answer', 'question_page');
          }
          );

          Post as a guest















          Required, but never shown





















































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown

































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown







          Popular posts from this blog

          Full-time equivalent

          Bicuculline

          さくらももこ