From a85882b70b092ba7c5900abed5526494cdde46ed Mon Sep 17 00:00:00 2001 From: ugol Date: Sun, 17 Dec 2023 19:54:00 +0100 Subject: [PATCH] fixed typo --- .../jrconfig_emitter_clickstream.json | 58 +++++++++++++++ ...onfig_emitter_creditcard_transactions.json | 58 +++++++++++++++ emitter_configs/jrconfig_emitter_fleet.json | 58 +++++++++++++++ emitter_configs/jrconfig_emitter_gaming.json | 58 +++++++++++++++ .../jrconfig_emitter_insurrance.json | 58 +++++++++++++++ .../jrconfig_emitter_inventory.json | 45 ++++++++++++ .../jrconfig_emitter_pageviews.json | 45 ++++++++++++ emitter_configs/jrconfig_emitter_payroll.json | 58 +++++++++++++++ .../jrconfig_emitter_pizza_orderds.json | 71 +++++++++++++++++++ emitter_configs/jrconfig_emitter_rating.json | 45 ++++++++++++ emitter_configs/jrconfig_emitter_shoe.json | 71 +++++++++++++++++++ emitter_configs/jrconfig_emitter_siem.json | 45 ++++++++++++ .../jrconfig_emitter_stocktrade.json | 45 ++++++++++++ 13 files changed, 715 insertions(+) create mode 100644 emitter_configs/jrconfig_emitter_clickstream.json create mode 100644 emitter_configs/jrconfig_emitter_creditcard_transactions.json create mode 100644 emitter_configs/jrconfig_emitter_fleet.json create mode 100644 emitter_configs/jrconfig_emitter_gaming.json create mode 100644 emitter_configs/jrconfig_emitter_insurrance.json create mode 100644 emitter_configs/jrconfig_emitter_inventory.json create mode 100644 emitter_configs/jrconfig_emitter_pageviews.json create mode 100644 emitter_configs/jrconfig_emitter_payroll.json create mode 100644 emitter_configs/jrconfig_emitter_pizza_orderds.json create mode 100644 emitter_configs/jrconfig_emitter_rating.json create mode 100644 emitter_configs/jrconfig_emitter_shoe.json create mode 100644 emitter_configs/jrconfig_emitter_siem.json create mode 100644 emitter_configs/jrconfig_emitter_stocktrade.json diff --git a/emitter_configs/jrconfig_emitter_clickstream.json b/emitter_configs/jrconfig_emitter_clickstream.json new file mode 100644 index 00000000..d9597eae --- /dev/null +++ b/emitter_configs/jrconfig_emitter_clickstream.json @@ -0,0 +1,58 @@ +{ + "emitters": [ + { + "name": "clickstream_users_schema", + "locale": "us", + "num": 0, + "frequency": "0s", + "duration": "0s", + "preload": 30, + "valueTemplate": "clickstream_users_schema", + "output": "kafka", + "keyTemplate": "null", + "outputTemplate": "{{.V}}\n", + "topic": "clickstream_users_schema" + } , + { + "name": "clickstream_schema", + "locale": "us", + "num": 1, + "frequency": "500ms", + "duration": "3s", + "preload": 0, + "valueTemplate": "clickstream_schema", + "output": "kafka", + "keyTemplate": "null", + "outputTemplate": "{{.V}}\n", + "topic": "clickstream_schema" + }, + { + "name": "clickstream_codes_schema", + "locale": "us", + "num": 1, + "frequency": "500ms", + "duration": "3s", + "preload": 0, + "valueTemplate": "clickstream_codes_schema", + "output": "kafka", + "keyTemplate": "null", + "outputTemplate": "{{.V}}\n", + "topic": "clickstream_codes_schema" + } + ], + "global": { + "seed": -1, + "kafkaConfig": "./kafka/config.properties", + "schemaRegistry": true, + "registryConfig": "./kafka/registry.properties", + "serializer": "avro-generic", + "autoCreate": true, + "redisTtl": "1m", + "redisConfig": "./redis/config.json", + "mongoConfig": "./mongoDB/config.json", + "elasticConfig": "./elastic/config.json", + "s3Config": "./s3/config.json", + "gcsConfig": "./gcs/config.json", + "url": "" + } +} diff --git a/emitter_configs/jrconfig_emitter_creditcard_transactions.json b/emitter_configs/jrconfig_emitter_creditcard_transactions.json new file mode 100644 index 00000000..99ddf1bf --- /dev/null +++ b/emitter_configs/jrconfig_emitter_creditcard_transactions.json @@ -0,0 +1,58 @@ +{ + "emitters": [ + { + "name": "util_userid", + "locale": "us", + "num": 0, + "frequency": "0s", + "duration": "0s", + "preload": 50, + "valueTemplate": "util_userid", + "output": "stdout", + "keyTemplate": "null", + "outputTemplate": "{{.V}}\n", + "topic": "util_userid" + }, + { + "name": "credit_cards", + "locale": "us", + "num": 0, + "frequency": "0s", + "duration": "0s", + "preload": 30, + "valueTemplate": "credit_cards", + "output": "kafka", + "keyTemplate": "null", + "outputTemplate": "{{.V}}\n", + "topic": "credit_cards" + }, + { + "name": "transactions", + "locale": "us", + "num": 1, + "frequency": "100ms", + "duration": "3s", + "preload": 0, + "valueTemplate": "transactions", + "output": "kafka", + "keyTemplate": "null", + "outputTemplate": "{{.V}}\n", + "topic": "transactions" + } + ], + "global": { + "seed": -1, + "kafkaConfig": "./kafka/config.properties", + "schemaRegistry": true, + "registryConfig": "./kafka/registry.properties", + "serializer": "avro-generic", + "autoCreate": true, + "redisTtl": "1m", + "redisConfig": "./redis/config.json", + "mongoConfig": "./mongoDB/config.json", + "elasticConfig": "./elastic/config.json", + "s3Config": "./s3/config.json", + "gcsConfig": "./gcs/config.json", + "url": "" + } +} diff --git a/emitter_configs/jrconfig_emitter_fleet.json b/emitter_configs/jrconfig_emitter_fleet.json new file mode 100644 index 00000000..f8eba459 --- /dev/null +++ b/emitter_configs/jrconfig_emitter_fleet.json @@ -0,0 +1,58 @@ +{ + "emitters": [ + { + "name": "fleet_mgmt_sensor", + "locale": "us", + "num": 1, + "frequency": "1s", + "duration": "1s", + "preload": 10, + "valueTemplate": "fleet_mgmt_sensor", + "output": "kafka", + "keyTemplate": "null", + "outputTemplate": "{{.V}}\n", + "topic": "fleet_mgmt_sensor" + }, + { + "name": "fleet_mgmt_location", + "locale": "us", + "num": 1, + "frequency": "100ms", + "duration": "1s", + "preload": 0, + "valueTemplate": "fleet_mgmt_location", + "output": "kafka", + "keyTemplate": "null", + "outputTemplate": "{{.V}}\n", + "topic": "fleet_mgmt_location" + }, + { + "name": "fleet_mgmt_description", + "locale": "us", + "num": 1, + "frequency": "100ms", + "duration": "1s", + "preload": 0, + "valueTemplate": "fleet_mgmt_description", + "output": "kafka", + "keyTemplate": "null", + "outputTemplate": "{{.V}}\n", + "topic": "fleet_mgmt_description" + } + ], + "global": { + "seed": -1, + "kafkaConfig": "./kafka/config.properties", + "schemaRegistry": true, + "registryConfig": "./kafka/registry.properties", + "serializer": "avro-generic", + "autoCreate": true, + "redisTtl": "1m", + "redisConfig": "./redis/config.json", + "mongoConfig": "./mongoDB/config.json", + "elasticConfig": "./elastic/config.json", + "s3Config": "./s3/config.json", + "gcsConfig": "./gcs/config.json", + "url": "" + } +} diff --git a/emitter_configs/jrconfig_emitter_gaming.json b/emitter_configs/jrconfig_emitter_gaming.json new file mode 100644 index 00000000..c26c4d00 --- /dev/null +++ b/emitter_configs/jrconfig_emitter_gaming.json @@ -0,0 +1,58 @@ +{ + "emitters": [ + { + "name": "gaming_games", + "locale": "us", + "num": 1, + "frequency": "500ms", + "duration": "2s", + "preload": 0, + "valueTemplate": "gaming_games", + "output": "kafka", + "keyTemplate": "null", + "outputTemplate": "{{.V}}\n", + "topic": "gaming_games" + }, + { + "name": "gaming_players", + "locale": "us", + "num": 0, + "frequency": "0s", + "duration": "0s", + "preload": 200, + "valueTemplate": "gaming_players", + "output": "kafka", + "keyTemplate": "null", + "outputTemplate": "{{.V}}\n", + "topic": "gaming_players" + }, + { + "name": "gaming_player_activity", + "locale": "us", + "num": 1, + "frequency": "100ms", + "duration": "3s", + "preload": 0, + "valueTemplate": "gaming_player_activity", + "output": "kafka", + "keyTemplate": "null", + "outputTemplate": "{{.V}}\n", + "topic": "gaming_player_activity" + } + ], + "global": { + "seed": -1, + "kafkaConfig": "./kafka/config.properties", + "schemaRegistry": true, + "registryConfig": "./kafka/registry.properties", + "serializer": "avro-generic", + "autoCreate": true, + "redisTtl": "1m", + "redisConfig": "./redis/config.json", + "mongoConfig": "./mongoDB/config.json", + "elasticConfig": "./elastic/config.json", + "s3Config": "./s3/config.json", + "gcsConfig": "./gcs/config.json", + "url": "" + } +} diff --git a/emitter_configs/jrconfig_emitter_insurrance.json b/emitter_configs/jrconfig_emitter_insurrance.json new file mode 100644 index 00000000..4e7c3d7d --- /dev/null +++ b/emitter_configs/jrconfig_emitter_insurrance.json @@ -0,0 +1,58 @@ +{ + "emitters": [ + { + "name": "insurance_offers", + "locale": "us", + "num": 1, + "frequency": "500ms", + "duration": "2s", + "preload": 0, + "valueTemplate": "insurance_offers", + "output": "kafka", + "keyTemplate": "null", + "outputTemplate": "{{.V}}\n", + "topic": "insurance_offers" + }, + { + "name": "insurance_customers", + "locale": "us", + "num": 0, + "frequency": "0s", + "duration": "0s", + "preload": 200, + "valueTemplate": "insurance_customers", + "output": "kafka", + "keyTemplate": "null", + "outputTemplate": "{{.V}}\n", + "topic": "insurance_customers" + }, + { + "name": "insurance_customer_activity", + "locale": "us", + "num": 1, + "frequency": "100ms", + "duration": "3s", + "preload": 0, + "valueTemplate": "insurance_customer_activity", + "output": "kafka", + "keyTemplate": "null", + "outputTemplate": "{{.V}}\n", + "topic": "insurance_customer_activity" + } + ], + "global": { + "seed": -1, + "kafkaConfig": "./kafka/config.properties", + "schemaRegistry": true, + "registryConfig": "./kafka/registry.properties", + "serializer": "avro-generic", + "autoCreate": true, + "redisTtl": "1m", + "redisConfig": "./redis/config.json", + "mongoConfig": "./mongoDB/config.json", + "elasticConfig": "./elastic/config.json", + "s3Config": "./s3/config.json", + "gcsConfig": "./gcs/config.json", + "url": "" + } +} diff --git a/emitter_configs/jrconfig_emitter_inventory.json b/emitter_configs/jrconfig_emitter_inventory.json new file mode 100644 index 00000000..8847ea8b --- /dev/null +++ b/emitter_configs/jrconfig_emitter_inventory.json @@ -0,0 +1,45 @@ +{ + "emitters": [ + { + "name": "product", + "locale": "us", + "num": 0, + "frequency": "0s", + "duration": "0s", + "preload": 50, + "valueTemplate": "product", + "output": "kafka", + "keyTemplate": "null", + "outputTemplate": "{{.V}}\n", + "topic": "product" + }, + { + "name": "inventory", + "locale": "us", + "num": 1, + "frequency": "100ms", + "duration": "3s", + "preload": 0, + "valueTemplate": "inventory", + "output": "kafka", + "keyTemplate": "null", + "outputTemplate": "{{.V}}\n", + "topic": "inventory" + } + ], + "global": { + "seed": -1, + "kafkaConfig": "./kafka/config.properties", + "schemaRegistry": true, + "registryConfig": "./kafka/registry.properties", + "serializer": "avro-generic", + "autoCreate": true, + "redisTtl": "1m", + "redisConfig": "./redis/config.json", + "mongoConfig": "./mongoDB/config.json", + "elasticConfig": "./elastic/config.json", + "s3Config": "./s3/config.json", + "gcsConfig": "./gcs/config.json", + "url": "" + } +} diff --git a/emitter_configs/jrconfig_emitter_pageviews.json b/emitter_configs/jrconfig_emitter_pageviews.json new file mode 100644 index 00000000..9d092508 --- /dev/null +++ b/emitter_configs/jrconfig_emitter_pageviews.json @@ -0,0 +1,45 @@ +{ + "emitters": [ + { + "name": "util_userid", + "locale": "us", + "num": 0, + "frequency": "0s", + "duration": "0s", + "preload": 50, + "valueTemplate": "util_userid", + "output": "stdout", + "keyTemplate": "null", + "outputTemplate": "{{.V}}\n", + "topic": "util_userid" + }, + { + "name": "pageviews_schema", + "locale": "us", + "num": 1, + "frequency": "100ms", + "duration": "3s", + "preload": 0, + "valueTemplate": "pageviews_schema", + "output": "kafka", + "keyTemplate": "null", + "outputTemplate": "{{.V}}\n", + "topic": "pageviews_schema" + } + ], + "global": { + "seed": -1, + "kafkaConfig": "./kafka/config.properties", + "schemaRegistry": true, + "registryConfig": "./kafka/registry.properties", + "serializer": "avro-generic", + "autoCreate": true, + "redisTtl": "1m", + "redisConfig": "./redis/config.json", + "mongoConfig": "./mongoDB/config.json", + "elasticConfig": "./elastic/config.json", + "s3Config": "./s3/config.json", + "gcsConfig": "./gcs/config.json", + "url": "" + } +} diff --git a/emitter_configs/jrconfig_emitter_payroll.json b/emitter_configs/jrconfig_emitter_payroll.json new file mode 100644 index 00000000..c840465f --- /dev/null +++ b/emitter_configs/jrconfig_emitter_payroll.json @@ -0,0 +1,58 @@ +{ + "emitters": [ + { + "name": "payroll_employee", + "locale": "us", + "num": 0, + "frequency": "0s", + "duration": "0s", + "preload": 300, + "valueTemplate": "payroll_employee", + "output": "kafka", + "keyTemplate": "null", + "outputTemplate": "{{.V}}\n", + "topic": "payroll_employee" + }, + { + "name": "payroll_employee_location", + "locale": "us", + "num": 0, + "frequency": "0s", + "duration": "0s", + "preload": 300, + "valueTemplate": "payroll_employee_location", + "output": "kafka", + "keyTemplate": "null", + "outputTemplate": "{{.V}}\n", + "topic": "payroll_employee_location" + }, + { + "name": "payroll_bonus", + "locale": "us", + "num": 1, + "frequency": "100ms", + "duration": "3s", + "preload": 0, + "valueTemplate": "payroll_bonus", + "output": "kafka", + "keyTemplate": "null", + "outputTemplate": "{{.V}}\n", + "topic": "payroll_bonus" + } + ], + "global": { + "seed": -1, + "kafkaConfig": "./kafka/config.properties", + "schemaRegistry": true, + "registryConfig": "./kafka/registry.properties", + "serializer": "avro-generic", + "autoCreate": true, + "redisTtl": "1m", + "redisConfig": "./redis/config.json", + "mongoConfig": "./mongoDB/config.json", + "elasticConfig": "./elastic/config.json", + "s3Config": "./s3/config.json", + "gcsConfig": "./gcs/config.json", + "url": "" + } +} diff --git a/emitter_configs/jrconfig_emitter_pizza_orderds.json b/emitter_configs/jrconfig_emitter_pizza_orderds.json new file mode 100644 index 00000000..4c5108c7 --- /dev/null +++ b/emitter_configs/jrconfig_emitter_pizza_orderds.json @@ -0,0 +1,71 @@ +{ + "emitters": [ + { + "name": "pizza_store_util", + "locale": "us", + "num": 0, + "frequency": "0s", + "duration": "0s", + "preload": 10, + "valueTemplate": "pizza_store_util", + "output": "stdout", + "keyTemplate": "null", + "outputTemplate": "{{.V}}\n", + "topic": "pizza_store_util" + }, + { + "name": "pizza_orders", + "locale": "us", + "num": 1, + "frequency": "100ms", + "duration": "5s", + "preload": 0, + "valueTemplate": "pizza_orders", + "output": "kafka", + "keyTemplate": "null", + "outputTemplate": "{{.V}}\n", + "topic": "pizza_orders" + }, + { + "name": "pizza_orders_cancelled", + "locale": "us", + "num": 1, + "frequency": "100ms", + "duration": "3s", + "preload": 0, + "valueTemplate": "pizza_orders_cancelled", + "output": "kafka", + "keyTemplate": "null", + "outputTemplate": "{{.V}}\n", + "topic": "pizza_orders_cancelled" + }, + { + "name": "pizza_orders_completed", + "locale": "us", + "num": 1, + "frequency": "500ms", + "duration": "3s", + "preload": 0, + "valueTemplate": "pizza_orders_completed", + "output": "kafka", + "keyTemplate": "null", + "outputTemplate": "{{.V}}\n", + "topic": "pizza_orders_completed" + } + ], + "global": { + "seed": -1, + "kafkaConfig": "./kafka/config.properties", + "schemaRegistry": true, + "registryConfig": "./kafka/registry.properties", + "serializer": "avro-generic", + "autoCreate": true, + "redisTtl": "1m", + "redisConfig": "./redis/config.json", + "mongoConfig": "./mongoDB/config.json", + "elasticConfig": "./elastic/config.json", + "s3Config": "./s3/config.json", + "gcsConfig": "./gcs/config.json", + "url": "" + } +} diff --git a/emitter_configs/jrconfig_emitter_rating.json b/emitter_configs/jrconfig_emitter_rating.json new file mode 100644 index 00000000..ca4db493 --- /dev/null +++ b/emitter_configs/jrconfig_emitter_rating.json @@ -0,0 +1,45 @@ +{ + "emitters": [ + { + "name": "util_userid", + "locale": "us", + "num": 0, + "frequency": "0s", + "duration": "0s", + "preload": 50, + "valueTemplate": "util_userid", + "output": "stdout", + "keyTemplate": "null", + "outputTemplate": "{{.V}}\n", + "topic": "util_userid" + }, + { + "name": "rating_schema", + "locale": "us", + "num": 1, + "frequency": "100ms", + "duration": "3s", + "preload": 0, + "valueTemplate": "rating_schema", + "output": "kafka", + "keyTemplate": "null", + "outputTemplate": "{{.V}}\n", + "topic": "rating_schema" + } + ], + "global": { + "seed": -1, + "kafkaConfig": "./kafka/config.properties", + "schemaRegistry": true, + "registryConfig": "./kafka/registry.properties", + "serializer": "avro-generic", + "autoCreate": true, + "redisTtl": "1m", + "redisConfig": "./redis/config.json", + "mongoConfig": "./mongoDB/config.json", + "elasticConfig": "./elastic/config.json", + "s3Config": "./s3/config.json", + "gcsConfig": "./gcs/config.json", + "url": "" + } +} diff --git a/emitter_configs/jrconfig_emitter_shoe.json b/emitter_configs/jrconfig_emitter_shoe.json new file mode 100644 index 00000000..869403b2 --- /dev/null +++ b/emitter_configs/jrconfig_emitter_shoe.json @@ -0,0 +1,71 @@ +{ + "emitters": [ + { + "name": "shoe", + "locale": "us", + "num": 0, + "frequency": "0s", + "duration": "0s", + "preload": 10, + "valueTemplate": "shoe", + "output": "kafka", + "keyTemplate": "null", + "outputTemplate": "{{.V}}\n", + "topic": "shoes" + }, + { + "name": "shoe_customer", + "locale": "us", + "num": 1, + "frequency": "1s", + "duration": "1s", + "preload": 5, + "valueTemplate": "shoe_customer", + "output": "kafka", + "keyTemplate": "null", + "outputTemplate": "{{.V}}\n", + "topic": "shoe_customers" + }, + { + "name": "shoe_order", + "locale": "us", + "num": 1, + "frequency": "500ms", + "duration": "1s", + "preload": 0, + "valueTemplate": "shoe_order", + "output": "kafka", + "keyTemplate": "null", + "outputTemplate": "{{.V}}\n", + "topic": "shoe_orders" + }, + { + "name": "shoe_clickstream", + "locale": "us", + "num": 1, + "frequency": "100ms", + "duration": "1s", + "preload": 0, + "valueTemplate": "shoe_clickstream", + "output": "kafka", + "keyTemplate": "null", + "outputTemplate": "{{.V}}\n", + "topic": "shoe_clickstream" + } + ], + "global": { + "seed": -1, + "kafkaConfig": "./kafka/config.properties", + "schemaRegistry": true, + "registryConfig": "./kafka/registry.properties", + "serializer": "avro-generic", + "autoCreate": true, + "redisTtl": "1m", + "redisConfig": "./redis/config.json", + "mongoConfig": "./mongoDB/config.json", + "elasticConfig": "./elastic/config.json", + "s3Config": "./s3/config.json", + "gcsConfig": "./gcs/config.json", + "url": "" + } +} diff --git a/emitter_configs/jrconfig_emitter_siem.json b/emitter_configs/jrconfig_emitter_siem.json new file mode 100644 index 00000000..01eb0066 --- /dev/null +++ b/emitter_configs/jrconfig_emitter_siem.json @@ -0,0 +1,45 @@ +{ + "emitters": [ + { + "name": "util_ip", + "locale": "us", + "num": 0, + "frequency": "0s", + "duration": "0s", + "preload": 50, + "valueTemplate": "util_ip", + "output": "stdout", + "keyTemplate": "null", + "outputTemplate": "{{.V}}\n", + "topic": "util_ip" + }, + { + "name": "siem_logs", + "locale": "us", + "num": 1, + "frequency": "100ms", + "duration": "3s", + "preload": 0, + "valueTemplate": "siem_logs", + "output": "kafka", + "keyTemplate": "null", + "outputTemplate": "{{.V}}\n", + "topic": "siem_logs" + } + ], + "global": { + "seed": -1, + "kafkaConfig": "./kafka/config.properties", + "schemaRegistry": true, + "registryConfig": "./kafka/registry.properties", + "serializer": "avro-generic", + "autoCreate": true, + "redisTtl": "1m", + "redisConfig": "./redis/config.json", + "mongoConfig": "./mongoDB/config.json", + "elasticConfig": "./elastic/config.json", + "s3Config": "./s3/config.json", + "gcsConfig": "./gcs/config.json", + "url": "" + } +} diff --git a/emitter_configs/jrconfig_emitter_stocktrade.json b/emitter_configs/jrconfig_emitter_stocktrade.json new file mode 100644 index 00000000..27c917ef --- /dev/null +++ b/emitter_configs/jrconfig_emitter_stocktrade.json @@ -0,0 +1,45 @@ +{ + "emitters": [ + { + "name": "util_userid", + "locale": "us", + "num": 0, + "frequency": "0s", + "duration": "0s", + "preload": 50, + "valueTemplate": "util_userid", + "output": "stdout", + "keyTemplate": "null", + "outputTemplate": "{{.V}}\n", + "topic": "util_userid" + }, + { + "name": "stock_trades-schema", + "locale": "us", + "num": 1, + "frequency": "100ms", + "duration": "3s", + "preload": 0, + "valueTemplate": "stock_trades-schema", + "output": "kafka", + "keyTemplate": "null", + "outputTemplate": "{{.V}}\n", + "topic": "stock_trades-schema" + } + ], + "global": { + "seed": -1, + "kafkaConfig": "./kafka/config.properties", + "schemaRegistry": true, + "registryConfig": "./kafka/registry.properties", + "serializer": "avro-generic", + "autoCreate": true, + "redisTtl": "1m", + "redisConfig": "./redis/config.json", + "mongoConfig": "./mongoDB/config.json", + "elasticConfig": "./elastic/config.json", + "s3Config": "./s3/config.json", + "gcsConfig": "./gcs/config.json", + "url": "" + } +}