Skip to content
SPECIFICTION
Get listed

Apache ActiveMQ vs Google Cloud Pub/Sub

Apache ActiveMQ

activemq.apache.org

Google Cloud Pub/Sub

cloud.google.com

Side by side

FigureApache ActiveMQGoogle Cloud Pub/Sub
Price fromFree$40/mo
Free planYesYes
Free trial—Yes
Open sourceYes—
WebYesYes
WindowsYes—
macOSYes—
LinuxYes—
APIYesYes
Self-hostedYes—
Plans published14
Spec score · Message Broker Software9.0 (#3)8.2 (#11)
Spec score · Message Queue (MQ) Software9.0 (#3)8.1 (#13)
IntegrationsThe site lists Spring support, JCA 1.5 resource adaptors, and testing in TomEE, Geronimo, JBoss, GlassFish, and WebLogic.Google Cloud integrations include Dataflow, BigQuery, Cloud Storage, Cloud Functions, Cloud Run, App Engine, Cloud Logging, Cloud Monitoring, Workflows, and Eventarc.
SecurityThe security documentation describes pluggable providers, JAAS authentication, and XML-configured authorization.Pub/Sub offers fine-grained access controls, end-to-end encryption, and HIPAA compliance.

Plans

Apache ActiveMQ

  • Apache ActiveMQ ClassicFree

Apache ActiveMQ pricing →

Google Cloud Pub/Sub

  • Free usage allowanceFree
  • Pay-as-you-go throughput$40 a month
  • Free monthly tierFree
  • Pay-as-you-go$40 a month

Google Cloud Pub/Sub pricing →

In their own words

Apache ActiveMQ

Apache ActiveMQ is an open-source messaging and Integration Patterns server for applications that exchange messages. It is self-hosted and supports OpenWire, STOMP, AMQP 1.0, MQTT 3.1, and REST. Listed client languages include Java, C, C++, C#, Ruby, Perl, Python, and PHP. Messaging features include message groups, virtual and composite destinations, wildcards, and enterprise integration patterns. ActiveMQ fully supports JMS 1.1 and J2EE 1.4+ messaging, including transient, persistent, transactional, and XA modes; support for Jakarta Messaging 3.1 and JMS 2.0 is partial. Transport options include in-VM, TCP, SSL, NIO, UDP, multicast, JGroups, and JXTA, with JDBC persistence and a high-performance journal. Browser access is available through a REST API and Ajax web streaming. Security options include pluggable providers, JAAS authentication, XML-configured authorization, and user, group, and destination permissions. ActiveMQ Classic costs nothing under the Apache License 2.0.

Visit activemq.apache.org

Google Cloud Pub/Sub

Google Cloud Pub/Sub is a cloud messaging service for asynchronous communication between services that produce messages and those that process them. It is intended for service-to-service use, including streaming analytics, data integration, middleware, and parallel task queues, rather than direct communication with end users or IoT clients. Communication typically has latency around 100 milliseconds. Synchronous cross-zone replication and per-message receipt tracking provide at-least-once delivery; Dataflow supports exactly-once processing of Pub/Sub streams. There are no shards or partitions, and provisioning scales automatically after quota is set. Message controls include seek and replay, dead letter topics, and attribute-based filtering. Pub/Sub offers fine-grained access controls, end-to-end encryption, and HIPAA compliance. It supports REST and gRPC APIs and client libraries for seven languages; API keys are not supported for authentication. The maximum message size is 10 MB. The free monthly tier is free for the first 10 GB of data per month. Pay-as-you-go is $40 a month beyond 10 GB, with throughput listed at $40 per TB and storage at $0.27 per GiB-month.

Visit cloud.google.com