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 |
---|---|---|---|
|
Required |
Name for the event stream source. Supported sources are mentioned above. |
|
|
Optional |
Key value pairs used by event stream sources. |
|
|
Optional |
Print the generated data without interacting with the cluster. |
|
|
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 |
---|---|---|---|
|
Optional |
Name of the map. |
|
|
Optional |
Size of the map value in bytes, the following suffixes can also be used: kb, mb, e.g., 42kb |
|
Example:
clc demo map-setmany 10 --name myMap --size 1kb