Question
· Aug 31

How can I integrate Google Cloud Pub/Sub with InterSystems IRIS (HealthShare)?

I’ve been exploring options for connecting Google Cloud Pub/Sub with InterSystems IRIS/HealthShare, but I noticed that IRIS doesn’t seem to ship with any native inbound/outbound adapters for Pub/Sub. Out of the box, IRIS offers adapters for technologies like Kafka, HTTP, FTP, and JDBC, which are great for many use cases, but Pub/Sub appears to be missing from the list.

Has anyone here implemented such an integration successfully?

For example:

  • Would it make sense to leverage IRIS’s Business Service + REST API adapter to connect to Google’s Pub/Sub REST endpoints?
  • Or perhaps use an intermediate bridge (e.g., Pub/Sub → Kafka → IRIS) since Kafka adapters are well-supported?
  • Another idea might be using InterSystems ObjectScript with gRPC or Python integration to subscribe and publish directly to Pub/Sub topics.

I’d love to hear best practices or proven approaches. If you’ve built a similar integration—whether for Pub/Sub, AWS SNS/SQS, or Azure Event Hubs—your insights would be very helpful.

Product version: HealthShare 2025.1
Discussion (2)3
Log in or sign up to continue

I was able to do something like that that takes HL7 messages and publishes them to GCP using the Java/ObjectScript code found here: github.com/mcmundt/isc-gcp-pubsub. Originally set this it up on HS 2020 which was relatively straightforward - mostly a matter of getting all the libraries worked out. I recently migrated that interface to HS 2024 which took some tweaking because of move to using External Language Servers/PEX components, switching from the intersystems-gateway-3.1.0 to intersystems-utils-4.1.5 library, and changes to com.intersystems.enslib.pex package that required some small changes to the original Java code.