Skip to main content

Tutorials and Recipes

Learn how to build and run applications with Hazelcast. Whether you want a simple getting started or an end-to-end example of a use case, use the search and filters below to find what you're looking for.

Product

57 of 57 tutorials

IMDG · 30 mins

Active Directory Authentication

Enterprise
Security
Deployment

In this tutorial, you will learn how to configure Hazelcast IMDG Enterprise to authenticate cluster members and clients using Kerberos tickets in the Microsoft Active Directory domain.

Cloud · 20 mins

Airline Connections Demo/Tutorial

sql
java
streaming
SQL
Java

This tutorial provides detailed information and instructions for the Airline Connections demo, which is built in to Hazelcast Cloud Trial.

IMDG · 5 mins

Cache Data in Spring Boot with Hazelcast and JCache

Caching
Getting Started
Spring Boot
Java

This guide will get you started with Hazelcast as a JCache provider for your Spring Boot application.

IMDG · 5 mins

Cache with Spring Boot and Hazelcast Cache Manager

Caching
Spring Boot
Java

In this tutorial, you'll deploy a Spring Boot application that uses Hazelcast as a cache manager.

Operator · 10 mins

Configure TLS with Hazelcast Platform Operator tutorial

Cloud Native
Go
Java

Learn how to secure Hazelcast cluster with TLS and Hazelcast Kubernetes Operator.

Platform · 10 mins

Connect Hazelcast to Kafka Clusters Secured with Kerberos

Enterprise
Stream Processing
Kafka
Kerberos
Java
SQL

Learn how to connect Hazelcast Jet pipelines to Kafka clusters that are secured with Kerberos authentication.

Operator · 5-10 mins

Connect to Hazelcast from Outside Kubernetes

Caching
Cloud Native
Go
Java
Node.js
Python

In this tutorial, you'll connect to a Hazelcast cluster running in Kubernetes from outside of the Kubernetes environment.

IMDG · 10 mins

Connect To Hazelcast Running on Kubernetes from Outside

Deployment
Spring Boot
Cloud Native
Java
Node.js
Python
Go

Deploy a Hazelcast Kubernetes cluster and connect to it, using a client outside Kubernetes.

Platform · 10 mins

CP Subsystem and CPMap Tutorial

Enterprise
Enterprise
Java

In this tutorial, you will examine the operations of a CP-enabled Hazelcast Platform cluster, then work with the CPMap data structure using the Hazelcast CLC.

Cloud · 30 mins

Create a Failover Client

Fault Tolerance
Java

In this tutorial, you'll update the code in a Java client to automatically connect to a secondary, failover cluster if it cannot connect to its original, primary cluster. You'll also run a simple test to make sure that your configuration is correct and then adjust it to include exception handling.

Cloud · 10 mins

Create a Spring Boot Application for Hazelcast Cloud

Spring Boot
Get Started
Java

In this tutorial, you'll learn how to create a basic Spring Boot application that connects to a cluster.

IMDG · 30 mins

Deploy a Hazelcast Cluster in the Cloud using Terraform

Deployment
Cloud Native

Deploy a Hazelcast cluster and Hazelcast Management Center on AWS, Azure, or GCP using Terraform.

20 mins

Deploy Hazelcast Cluster on AWS EC2

Deployment
AWS

In this tutorial, you will create two EC2 instances with Hazelcast members and see them connecting to each other and forming a cluster via Hazelcast AWS plugin.

Operator · 15 mins

Deploying Custom Classes With the User Code Namespace

Enterprise
Cloud Native
Java

Learn how to deploy custom classes with the User Code Namespace

Cloud · 30 mins

Fraud Detection with AWS and Hazelcast Cloud

Caching
AWS Lambda
Node.js

In this tutorial, you'll build a solution for detecting fraudulent transactions using AWS Lambda, Hazelcast Viridian Cloud, and Node.js.

Cloud · 10 mins

Generating Streaming Data Using SQL

Stream Processing
Get Started
SQL
SQL

Use SQL on Hazelcast to generate randomized streaming data for demo/POC purposes.

IMDG · 15 mins

Get Started with Embedded Hazelcast on ECS

Caching
Spring Boot
Java

In this tutorial, you'll deploy an application with embedded Hazelcast on an ECS cluster. Hazelcast members from each application replica will automatically discover themselves and form one consistent Hazelcast cluster. Thanks to https://github.com/hazelcast/hazelcast-aws[Hazelcast AWS discovery plugin], there is no static configuration needed.

IMDG · 15 mins

Get Started with Embedded Hazelcast on Kubernetes

Caching
Spring Boot
Deployment
Cloud Native
Java

Deploy an application with embedded Hazelcast into a Kubernetes cluster.

IMDG · 10 mins

Get Started with Hazelcast and Hibernate Second-Level Cache

Caching
Getting Started
Hibernate
Java

In this tutorial, you'll learn how to quickly set up a Spring Boot application using Hazelcast as a Hibernate second-level cache.

IMDG · 15 mins

Get Started with Hazelcast and Micronaut

Getting Started
Caching
Spring Boot
Microservices
Java

This tutorial will get you started with Hazelcast in a Micronaut application.

IMDG · 10 mins

Get Started with Hazelcast and Microprofile

Caching
Getting Started
Microservices
Java

In this tutorial, you will learn how to use Hazelcast within Microprofile microservices.

IMDG · 10 mins

Get Started with Hazelcast and Quarkus

Caching
Getting Started
Microservices
Cloud Native
Java

Set up a native image-ready Quarkus application, using a Hazelcast client.

IMDG · 15 mins

Get Started with Hazelcast as a Hibernate Second-Level Cache with JCache

Caching
Getting Started
Hibernate
JCache
Java

In this tutorial, you will learn how to use Hazelcast as a Hibernate second-level cache by leveraging Hibernate's JCache (JSR 107) support. You will also learn how to integrate Hazelcast with Hibernate without using the <code>hazelcast-hibernate</code> integration.

IMDG · 15 mins

Get Started with Hazelcast using Spring Boot

Caching
Getting Started
Spring Boot
Microservices
Java

This tutorial will get you started with Hazelcast in a Spring Boot application.

Platform · 5-10 mins

Getting Started with the Hazelcast .NET Client

Get Started
C#

In this tutorial you will see how to connect with the Hazelcast .NET client and manipulate a map.

Platform · 5-10 mins

Getting Started with the Hazelcast C++ Client

Get Started
C++

This tutorial will get you started with the Hazelcast C++ client and manipulate a map.

Platform · 5-10 mins

Getting Started with the Hazelcast Go Client

Get Started
Go

This tutorial will get you started with the Hazelcast Go client and manipulate a map.

Platform · 5-10 mins

Getting Started with the Hazelcast Java Client

Get Started
Java

This tutorial will get you started with the Hazelcast Java client and manipulate a map.

Platform · 5-10 mins

Getting Started with the Hazelcast Node.js Client

Get Started
Node.js

This tutorial will get you started with the Hazelcast Node.js client and manipulate a map.

Platform · 5-10 mins

Getting Started with the Hazelcast Python Client

Get Started
Python

This tutorial will get you started with the Hazelcast Python client and manipulate a map.

IMDG · 15 mins

Hazelcast as Sidecar Container in Kubernetes

Cloud Native
Deployment

Use Hazelcast as a sidecar container for applications deployed on Kubernetes.

IMDG · 20 mins

Hazelcast Embedded with Eureka Discovery

Enterprise
Cloud Native
Spring Boot
Java

Learn how to use Hazelcast Eureka Discovery Plugin to discover Hazelcast members in a Eureka cluster.

Platform · 20 mins

Hazelcast for Kubernetes

Deployment
Cloud Native
Java
Go
Node.js
Python
C++

In this tutorial, you will deploy a Hazelcast cluster to Kubernetes and connect it to a Kubernetes application.

Cloud · 45 mins

Hazelcast Platform Essentials

Stream Processing
SQL
fast data
Java
Python

Use Hazelcast Cloud to process streaming data, enrich streaming data with data in fast storage, store output in fast storage, and use an entry processor to update inventory.

IMDG · 30 mins

Hazelcast WAN Replication in Kubernetes

Enterprise
Deployment
Cloud Native

Synchronize data in two Hazelcast clusters that are hosted in different Kubernetes environments, using WAN Replication.

IMDG · 20 mins

Hazelcast with Consul Service Mesh

Deployment
Cloud Native
Java

Use Hazelcast in a Consul environment.

IMDG · 15 mins

Hazelcast with Istio Service Mesh

Caching
Spring Boot
Deployment
Microservices
Cloud Native
Java

Use Hazelcast in an Istio environment.

IMDG · 20 mins

Hazelcast with Linkerd Service Mesh

Deployment
Cloud Native
Java

Use Hazelcast in a Linkerd environment.

IMDG · 30 mins

Hazelcast with SSL in Kubernetes

Enterprise
Security
Deployment
Cloud Native

Enable SSL between Hazelcast members and Hazelcast clients in Kubernetes.

IMDG · 15 mins

Kubernetes Horizontal Pod Autoscaler for Hazelcast

Deployment
Cloud Native

Deploy Hazelcast on a Kubernetes cluster and set up Kubernetes Horizontal Pod Autoscaler (HPA), using Resource Metrics and Custom Metrics.

Cloud · 30 mins

Monitor Trades in Real-Time Using Cloud

Stream Processing
Kafka
Java

Deploy a Java application that updates a trade monitoring dashboard in real-time.

Platform · 150 mins

Pipeline API Tutorial - The Machine Shop

Stream Processing
SQL

Use the Hazelcast Pipeline API to build an application for modifying machine shop operations based on real time telemetry.

Cloud · 30 mins

Process Customer Satisfaction Scores on Hazelcast Cloud

In-Memory Computing
Java

In this tutorial, you'll build an application that calculates the standard deviation of customer satisfaction scores, using code that's executed on each member of a Hazelcast Cloud cluster.

Cloud · 20 mins

Query Streams from Confluent Cloud

Stream Processing
Materialized Views
SQL

In this tutorial, you'll learn how to connect your cluster to Confluent Cloud, using SQL. You'll also learn how to build a materialized view from streaming data and contextual data in Hazelcast.

Operator · 10 mins

Replicate Data between Two Hazelcast Clusters with Hazelcast Platform Operator

Cloud Native
Go
Java
Node.js
Python

Learn how to keep data in sync across two Hazelcast clusters.

Operator · 20 mins

Restore a Cluster from Cloud Storage with Hazelcast Platform Operator

Cloud Native
Go
Java
Node.js
Python

Learn how to back up data in Hazelcast maps to cloud storage and restore a cluster from that backup data.

Operator · 20 mins

Run a Data Pipeline Using Jet with Hazelcast Platform Operator

Cloud Native
Go
Java
Node.js
Python

Learn how to run a data pipeline in Hazelcast using Jet.

Operator · 10 mins

Saving the State of Jet Job with Hazelcast Platform Operator

Cloud Native
Go
Java
Node.js
Python

Learn how to save the state of your data pipelines and initiate a data pipeline from an existing state using the Hazelcast Platform Operator.

IMDG · 5 mins

Session Replication with Spring Boot and Hazelcast

Caching
Spring Boot
Session Replication
Java

In this tutorial, you'll deploy two Spring Boot applications which use Hazelcast for session replication.

IMDG · 15 mins

Spring Boot Tomcat Session Replication using Hazelcast

Caching
Spring Boot
Microservices
Java

In this tutorial, you'll learn how to use Hazelcast with Tomcat session replication in Spring Boot microservices.

IMDG · 10 mins

Spring Session Hazelcast

Caching
Spring Boot
Session Replication
Java

In this tutorial, you will deploy two Spring Boot applications that use Hazelcast as a HTTP session store and hence share sessions among each other.

Cloud · 15 mins

SQL Basics on Hazelcast Cloud (Stock Ticker)

Stream Processing
Get Started
SQL
SQL

Use SQL to perform streaming queries, data enrichment, windowed aggregations, stream-to-stream joins, and create jobs.

Platform · 10 mins

Stream-To-Stream Joins with SQL

Enterprise
Joins
Stream Processing
SQL

Learn how to join two streams of data and process the results, using SQL.

Operator · 10 mins

Synchronize Data between Two Hazelcast Clusters using WAN Sync

Cloud Native
Go
Java
Node.js
Python

Learn how to synchronize data across two Hazelcast clusters using WAN Sync.

Cloud · 30 mins

Use Cloud Standard as a Write-Through Cache with MongoDB Atlas

Caching
Java

In this tutorial, you'll build an application that writes changes made to a map back to MongoDB Atlas.

IMDG · 5-10 mins

Use Hazelcast with OpenFaaS

Cloud Native
Java
Node.js
Python

Use Hazelcast clients in OpenFaaS functions to connect to Hazelcast clusters on Kubernetes.

Platform · 15 minutes

User Code Namespace Tutorial

Enterprise
Java

This is a demonstration of user code namespaces. In this exercise, we will be working with a Spring Boot service that uses an entry processor to perform a basic authorization. We will then update the entry processor without restarting the cluster.