{"id":19230609,"url":"https://github.com/ctron/hono-simulator","last_synced_at":"2025-04-21T03:31:12.330Z","repository":{"id":44221384,"uuid":"140687535","full_name":"ctron/hono-simulator","owner":"ctron","description":"Simulating IoT payloads for Eclipse Hono","archived":false,"fork":false,"pushed_at":"2023-06-14T22:28:54.000Z","size":410,"stargazers_count":7,"open_issues_count":2,"forks_count":4,"subscribers_count":4,"default_branch":"develop","last_synced_at":"2024-05-02T06:15:07.116Z","etag":null,"topics":["eclipse-hono","eclipse-iot","iot"],"latest_commit_sha":null,"homepage":"https://dentrassi.de/iot-simulator","language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"epl-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ctron.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2018-07-12T08:53:37.000Z","updated_at":"2023-09-23T14:29:46.000Z","dependencies_parsed_at":"2023-01-20T04:31:50.524Z","dependency_job_id":null,"html_url":"https://github.com/ctron/hono-simulator","commit_stats":null,"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ctron%2Fhono-simulator","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ctron%2Fhono-simulator/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ctron%2Fhono-simulator/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ctron%2Fhono-simulator/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ctron","download_url":"https://codeload.github.com/ctron/hono-simulator/tar.gz/refs/heads/develop","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":223848477,"owners_count":17213606,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["eclipse-hono","eclipse-iot","iot"],"created_at":"2024-11-09T15:39:54.276Z","updated_at":"2024-11-09T15:39:54.984Z","avatar_url":"https://github.com/ctron.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Eclipse Hono™ Simulator\n\nA set of tools for simulating an IoT workload for Eclipse Hono.\nThis supports generating MQTT and HTTP, telemetry and events.\nIt also allows records metrics to a prometheus instance for monitoring\nand analysis.\n\n## Operator\n\nDeploying the different parts of the simulator can be tricky. But there is an\noperator which will set up Prometheus, the web console and deploy the different\nproducer and consumers.\n\n### OperatorHub.io\n\nYou can directly download install the operator via [OperatorHub.io](https://operatorhub.io/operator/iot-simulator \"IoT simulator on OperatorHub.io\").\n\n### Manual operator installation\n\nAll you need is the [OLM](https://github.com/operator-framework/operator-lifecycle-manager \"Operator Lifecycle Manager\") installed and then:\n\n    oc apply -f https://raw.githubusercontent.com/ctron/iot-simulator-operator/master/operator/iot-simulator-simulators.crd.yaml\n    oc apply -f https://raw.githubusercontent.com/ctron/iot-simulator-operator/master/operator/iot-simulator-simulatorconsumers.crd.yaml\n    oc apply -f https://raw.githubusercontent.com/ctron/iot-simulator-operator/master/operator/iot-simulator-simulatorproducers.crd.yaml\n    oc apply -f https://raw.githubusercontent.com/ctron/iot-simulator-operator/master/operator/iot-simulator.v0.1.0.clusterserviceversion.yaml\n\nOr, if you use plain Kubernetes:\n\n    kubectl apply -f https://raw.githubusercontent.com/ctron/iot-simulator-operator/master/operator/iot-simulator-simulators.crd.yaml\n    kubectl apply -f https://raw.githubusercontent.com/ctron/iot-simulator-operator/master/operator/iot-simulator-simulatorconsumers.crd.yaml\n    kubectl apply -f https://raw.githubusercontent.com/ctron/iot-simulator-operator/master/operator/iot-simulator-simulatorproducers.crd.yaml\n    kubectl apply -f https://raw.githubusercontent.com/ctron/iot-simulator-operator/master/operator/iot-simulator.v0.1.0.clusterserviceversion.yaml\n\nAlso see: [OLM scripts](https://github.com/ctron/iot-simulator-operator/tree/master/operator)\n\n## Creating instances\n\nFirst you need to create a simulator instance:\n\n~~~yaml\napiVersion: iot.dentrassi.de/v1alpha1\nkind: Simulator\nmetadata:\n  name: hono1\n  namespace: iot-simulator\nspec:\n  endpoint:\n    messaging: # Messaging endpoint information\n      user: foo\n      password: bar\n      host: messaging.host.hono.svc\n      port: '5671'\n      caCertificate: ''\n    registry: # Device registry endpoint\n      url: 'https://your-device-registry'\n      apiVersion: LEGACY # or V1\n    adapters:\n      mqtt:\n        host: mqtt-adapter.hono.svc\n        port: 8883\n      http:\n        url: 'https://http-adapter.hono.svc'\n~~~\n\nFollowed by a consumer:\n\n~~~yaml\napiVersion: iot.dentrassi.de/v1alpha1\nkind: SimulatorConsumer\nmetadata:\n  name: consumer1\n  namespace: iot-simulator\nspec:\n  simulator: hono1 # metadata.name of the Simulator resource\n  tenant: myapp1.iot\n  type: telemetry\n  replicas: 1\n~~~\n\nAnd a producer:\n\n~~~yaml\napiVersion: iot.dentrassi.de/v1alpha1\nkind: SimulatorProducer\nmetadata:\n  name: producer1\n  namespace: iot-simulator\nspec:\n  simulator: hono1 # metadata.name of the Simulator resource\n  tenant: myapp1.iot\n  type: telemetry # or 'event'\n  protocol: http # or 'mqtt'\n  replicas: 1\n  numberOfDevices: 10\n~~~\n\n## Web Console\n\nThe operator will allow you to deploy a web console alongside for a quick\noverview.\n\n![Screesshot of console](docs/console.png)\n\nAlso see: [ctron/iot-simulator-console](https://github.com/ctron/iot-simulator-console \"IoT simulator console\")\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fctron%2Fhono-simulator","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fctron%2Fhono-simulator","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fctron%2Fhono-simulator/lists"}