This article provides a brief introduction to using Instaclustr’s managed PostgreSQL Database and Apache Kafka from Payara Cloud. It was created to assist entrants in the upcomingPayara Hackathon (you can still sign up!) spin-up and configure some potentially useful Instaclustr technologies forJakarta EEapplications.
Why would you want to use PostgreSQL or Kafka with Jakarta EE?
Here are a few potential reasons:
PostgreSQL is a reliable and scalable SQL database that supports JDBC.
No payment details are required, it’s free, the trial is for the non-production SLA tier, a subset of our services and node sizes (only developer-sized nodeshttps://www.instaclustr.com/pricing/), for 30 days. After 30 days (if you haven’t signed up for a normal subscription) the clusters (and all the data) will be deleted.
2. PostgreSQL
There are four main steps: (1) Create a PostgreSQL cluster, (2) Allow access, (3) Get connection details and (4) configure Payara cloud to use the PostgreSQL cluster and test (not covered here, see relevant Payara documentation)
2.1 Create a PostgreSQL cluster using the Instaclustr console
Consumer configuration is identical with the addition of a consumergroup.id(In Kafka, multiple consumers can consume from a topic, for increased concurrency, if they are in the same group):
Use the relevant information from 3.3. to configure Payara Cloud to use your Apache Kafka cluster. You can send and receive messages to/from Kafka using Cloud Connectors, JCA and MDBs. Seethis documentation.
Note that I couldn’t find where to configure Kafka user/password details.
High-Frequency Trading on Jakarta EE: Join Our Upcoming Live Webinar
Modern high-frequency trading (HFT) platforms operate under extreme performance constraints, processing tens of thousands of messages per second while […]
1 minute
Community
Dominika Tasarz
06 Mar 2026
Help Shape the Future of Payara Platform Community – Take Our 2026 Survey
Earlier this week, we’ve launched the 2026 Payara Platform Community Survey and we’d love to hear from you. If […]
5 minutes
Community
Dominika Tasarz
03 Mar 2026
The Payara Monthly Catch – February 2026
February brought strong momentum across the enterprise Java ecosystem – from Agentic AI discussions and Jakarta EE evolution, to […]