9 Replies Latest reply on Feb 14, 2018 3:45 PM by tcomprak

    hornetq and external services

    tcomprak

      Does hornetq require any external services (like zookeeper) to provide HA / clustering. I'm looking for a message broker without any dependency on external services and one which can provide reliable message delivery, persistent messages with high availability. Appreciate if I can get some feedback if hornetq would suit - thanks.

        • 1. Re: hornetq and external services
          jbertram

          Does hornetq require any external services (like zookeeper) to provide HA / clustering.

          No.  HornetQ doesn't require any external services to provide HA/clustering.

           

          That said, several years ago the HornetQ code-base was donated to the Apache ActiveMQ community and it now exists as the ActiveMQ Artemis broker.  I would look at that broker rather than HornetQ at this point.  It doesn't require any external services to provide HA/clustering either.

          • 2. Re: hornetq and external services
            tcomprak

            Thanks Justin. Does Artemis support Python Client APIs ? Its user manual does not say it explicitly. The ActiveMQ cross-client-languages page does list Python as a supported language - Apache ActiveMQ ™ -- Cross Language Clients , but I just want to make sure it would work with Artemis as well.

             

            Also, for HA using replication, I suppose Artemis needs to be configured as a cluster - is my understanding correct ? Thanks in advance.

            • 3. Re: hornetq and external services
              jbertram

              Just like ActiveMQ 5.x, Artemis is a message broker written in Java with JMS, REST, and WebSocket interfaces. Artemis also supports protocols like AMQP, MQTT, OpenWire and STOMP that can be used by applications in different languages.

              1 of 1 people found this helpful
              • 4. Re: hornetq and external services
                tcomprak

                Thanks Justin. Do you have any feedback on the HA/clustering question? Is clustering required for HA with replication?

                 

                An additional question - does Artemis work well on windows/mac platforms?

                • 5. Re: hornetq and external services
                  jbertram

                  Configuring a cluster is a per-requisite for any HA configuration.  See the examples for more details on that.  There are lots of clustered and HA examples shipped with the broker.

                  1 of 1 people found this helpful
                  • 6. Re: hornetq and external services
                    jbertram

                    See my previous answer on this thread for your HA/clustering question.

                     

                    Artemis works well on both Windows and Mac platforms (it is Java, after all).

                     

                    It's worth noting that Artemis works with some native components (AIO disk access & Netty epoll network transport on Linux as well as Netty kqueue network transport on Mac).  These native components enhance performance and aren't available on Windows so you might consider that if your use-case is particularly sensitive to performance.

                    1 of 1 people found this helpful
                    • 7. Re: hornetq and external services
                      jbertram

                      For additional questions I recommend you use the ActiveMQ User List.

                      1 of 1 people found this helpful
                      • 8. Re: hornetq and external services
                        jbertram

                        To be clear, Artemis' performance is still very good without the native components.  The native components simply enhance performance.  There is no difference in functionality.

                        1 of 1 people found this helpful
                        • 9. Re: hornetq and external services
                          tcomprak

                          Thanks for all your responses Justin. Yes, I have subscribed to the ActiveMQ User List as well.