msghub | Lightweight publisher/subscriber C library based on boost

 by   di9it C++ Version: Current License: No License

kandi X-RAY | msghub Summary

kandi X-RAY | msghub Summary

msghub is a C++ library typically used in User Interface, JavaFX applications. msghub has no bugs, it has no vulnerabilities and it has low support. You can download it from GitHub.

The idea is simple…​ there are topics, subscribers and publishers. One client create a msghub instance and others are connecting to it. Subscriber specify the topic name of its interest. All clients publish message into a topic and hub distribute messages across all subscribers. Message is a byte array or a string.
Support
    Quality
      Security
        License
          Reuse

            kandi-support Support

              msghub has a low active ecosystem.
              It has 18 star(s) with 8 fork(s). There are 3 watchers for this library.
              OutlinedDot
              It had no major release in the last 6 months.
              There are 4 open issues and 0 have been closed. There are 3 open pull requests and 0 closed requests.
              It has a neutral sentiment in the developer community.
              The latest version of msghub is current.

            kandi-Quality Quality

              msghub has 0 bugs and 0 code smells.

            kandi-Security Security

              msghub has no vulnerabilities reported, and its dependent libraries have no vulnerabilities reported.
              msghub code analysis shows 0 unresolved vulnerabilities.
              There are 0 security hotspots that need review.

            kandi-License License

              msghub does not have a standard license declared.
              Check the repository for any license declaration and review the terms closely.
              OutlinedDot
              Without a license, all rights are reserved, and you cannot use the library in your applications.

            kandi-Reuse Reuse

              msghub releases are not available. You will need to build from source code and install.
              Installation instructions are not available. Examples and code snippets are available.

            Top functions reviewed by kandi - BETA

            kandi's functional review helps you automatically verify the functionalities of the libraries and avoid rework.
            Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of msghub
            Get all kandi verified functions for this library.

            msghub Key Features

            No Key Features are available at this moment for msghub.

            msghub Examples and Code Snippets

            No Code Snippets are available at this moment for msghub.

            Community Discussions

            QUESTION

            Can't Connect to BlueMix MessageHub From Bluemix Liberty
            Asked 2017-Jun-22 at 01:14

            I have a liberty app that connects Bluemix Message Hub. It works fine locally, however it never works when I run the liberty app from Bluemix Liberty. I'm following the example in https://github.com/ibm-messaging/message-hub-samples/tree/master/kafka-java-liberty-sample where you change username/pw in server.xml during runtime.

            After some trial and error I realized that when I hardcode my kafka username/pw in server.xml, then BluemixLiberty connects to MsgHub fine. When I "hotswap" the kafka username/pw like in the example, it doesn't work and never connects to kafka (even when I restart the service it doesn't reconnect). I've checked by logging into my service using CF and the sever.xml does have the username/pw correctly swapped.

            Is this feature supported in Bluemix Liberty? If not, how am I supposed to properly use vcap-services so I don't hardcode my production user/pw?

            ...

            ANSWER

            Answered 2017-Jun-22 at 01:14

            I have just redeployed MessageHub's kafka-java-liberty-sample to Bluemix and checked it works ok. One reason your own application may not work could be if it reads server.xml's before the credentials replacement takes place. In the sample, the textual replacement occurs before any JAAS configuration is set.

            However, you may follow another, better, approach. Using Kafka's 0.10.2 client, you do not have to use a global JAAS configuration (a jaas.conf file in a plain Java app, or a in Liberty's server.xml).

            You can instead remove both and sections from server.xml and avoid doing any replacement there.

            Add to your consumer and producer's Properties a sasl.jaas.config property that contains the username and password obtained from VCAP_SERVICES.

            see http://kafka.apache.org/documentation/#security_sasl_plain_clientconfig

            e.g. a property like the following with real USERNAME and PASSWORD. Note that " and ; are expected to be there verbatim.

            sasl.jaas.config=org.apache.kafka.common.security.plain.PlainLoginModule required username="USERNAME" password="PASSWORD";

            see https://github.com/ibm-messaging/message-hub-samples/pull/17 (we will merge this PR shortly, for now the branch is https://github.com/edoardocomar/message-hub-samples/tree/liberty-fixed-serverxml)

            Source https://stackoverflow.com/questions/44686976

            Community Discussions, Code Snippets contain sources that include Stack Exchange Network

            Vulnerabilities

            No vulnerabilities reported

            Install msghub

            You can download it from GitHub.

            Support

            For any new features, suggestions and bugs create an issue on GitHub. If you have any questions check and ask questions on community page Stack Overflow .
            Find more information at:

            Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items

            Find more libraries
            CLONE
          • HTTPS

            https://github.com/di9it/msghub.git

          • CLI

            gh repo clone di9it/msghub

          • sshUrl

            git@github.com:di9it/msghub.git

          • Stay Updated

            Subscribe to our newsletter for trending solutions and developer bootcamps

            Agree to Sign up and Terms & Conditions

            Share this Page

            share link