A newer version of Hazelcast CLC is available.

View latest

clc demo

This command group provides commands for creating and preparing demos.

Usage:

clc demo [command] [options]

clc demo generate data

Generates stream events

Generate data for given name, supported names are:

  • wikipedia-event-stream: Real-time Wikipedia event stream. Following key-value pairs can be set

  • map=<MAP-NAME>: generated stream items are written into the map

Note that the data is streamed from Wikipedia changes. Hazelcast has no control over the incoming data,

Usage:

clc demo generate-data [event-stream-name] [key=val, ...] [flags]

Parameters:

Parameter Required Description Default

event-stream-name

Required

Name for the event stream source. Supported sources are mentioned above.

key=val

Optional

Key value pairs used by event stream sources.

--preview

Optional

Print the generated data without interacting with the cluster.

--max-values

Optional

Number of events to create.

Example:

clc demo generate-data wikipedia-event-stream map=wiki-events --preview

clc demo map setmany

Generates multiple map entries.

Usage:

clc demo map-setmany [entry-count] [flags]

Parameters:

Parameter Required Description Default

--name, -n

Optional

Name of the map.

default

--size

Optional

Size of the map value in bytes, the following suffixes can also be used: kb, mb, e.g., 42kb

1

Example:

clc demo map-setmany 10 --name myMap --size 1kb