Tutorials & Recipes

Learn how to build and run applications with Hazelcast.

Filter by product

Include Enterprise

Filter by language

Filter by category

All

User Code Namespace Tutorial

15 minutes

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.

CP Subsystem and CPMap Tutorial

10 mins

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.

Pipeline API Tutorial - The Machine Shop

150 mins

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

Airline Connections Demo/Tutorial

20 mins

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

Generating Streaming Data Using SQL

10 mins

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

SQL Basics on Hazelcast Cloud (Stock Ticker)

15 mins

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

Hazelcast Platform Essentials

45 mins

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.

Query Streams from Confluent Cloud

20 mins

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.

Create a Failover Client

30 mins

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.

Create a Spring Boot Application for Hazelcast Cloud

10 mins

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

Fraud Detection with AWS and Hazelcast Cloud

30 mins

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

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

30 mins

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

Process Customer Satisfaction Scores on Hazelcast Cloud

30 mins

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.

Stream-To-Stream Joins with SQL

10 mins

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

Cache Data in Spring Boot with Hazelcast and JCache

5 mins

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

Get Started with Hazelcast using Spring Boot

15 mins

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

Get Started with Hazelcast and Hibernate Second-Level Cache

10 mins

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

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

15 mins

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 hazelcast-hibernate integration.

Hazelcast with Istio Service Mesh

15 mins

Use Hazelcast in an Istio environment.

Get Started with Hazelcast and Micronaut

15 mins

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

Get Started with Embedded Hazelcast on Kubernetes

15 mins

Deploy an application with embedded Hazelcast into a Kubernetes cluster.

Get Started with Hazelcast and Microprofile

10 mins

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

Get Started with Hazelcast and Quarkus

10 mins

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

Session Replication with Spring Boot and Hazelcast

5 mins

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

Cache with Spring Boot and Hazelcast

5 mins

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

Get Started with Embedded Hazelcast on ECS

15 mins

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.

Spring Boot Tomcat Session Replication using Hazelcast

15 mins

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

Deploy a Hazelcast Cluster in the Cloud using Terraform

30 mins

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

Connect To Hazelcast Running on Kubernetes from Outside

10 mins

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

Active Directory Authentication

30 mins

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.

Hazelcast as Sidecar Container in Kubernetes

15 mins

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

Kubernetes Horizontal Pod Autoscaler for Hazelcast

15 mins

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

Hazelcast with SSL in Kubernetes

30 mins

Enable SSL between Hazelcast members and Hazelcast clients in Kubernetes.

Hazelcast WAN Replication in Kubernetes

30 mins

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

Hazelcast for Kubernetes

20 mins

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

Spring Session Hazelcast

10 mins

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.

Deploy Hazelcast Cluster on AWS EC2

20 mins

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.

Hazelcast Embedded with Eureka Discovery

20 mins

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

Hazelcast with Linkerd Service Mesh

20 mins

Use Hazelcast in a Linkerd environment.

Hazelcast with Consul Service Mesh

20 mins

Use Hazelcast in a Consul environment.

Use Hazelcast with OpenFaaS

5-10 mins

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

Connect to Hazelcast from Outside Kubernetes

5-10 mins

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

Restore a Cluster from Cloud Storage with Hazelcast Platform Operator

20 mins

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

Replicate Data between Two Hazelcast Clusters with Hazelcast Platform Operator

10 mins

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

Synchronize Data between Two Hazelcast Clusters using WAN Sync

10 mins

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

Run a Data Pipeline Using Jet with Hazelcast Platform Operator

20 mins

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

Saving the State of Jet Job with Hazelcast Platform Operator

10 mins

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

Configure TLS with Hazelcast Platform Operator tutorial

10 mins

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

Deploying Custom Classes With the User Code Namespace

15 mins

Learn how to deploy custom classes with the User Code Namespace

Connect Hazelcast to Kafka Clusters Secured with Kerberos

10 mins

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

Monitor Trades in Real-Time Using Cloud

30 mins

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

Getting Started with the Hazelcast .NET Client

5-10 mins

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

Getting Started with the Hazelcast Python Client

5-10 mins

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

Getting Started with the Hazelcast Java Client

5-10 mins

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

Getting Started with the Hazelcast Node.js Client

5-10 mins

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

Getting Started with the Hazelcast Go Client

5-10 mins

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

Getting Started with the Hazelcast C++ Client

5-10 mins

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