SDK Architecture
The /IOTCONNECT™ Greengrass SDK uses an IPC (Inter-Process Communication) model. Your custom component communicates with the pre-installed SDK component via local pub / sub topics — typically does not communicate directly with the cloud; instead, it uses the SDK.
Communication Flow:
Telemetry (Device → Cloud): Your component publishes JSON to IPC topic iotc/rpt/d2gg/sub → SDK component picks it up → forwards to /IOTCONNECT™ via MQTT
Commands (Cloud → Device): /IOTCONNECT™ sends command via MQTT → SDK component receives → publishes to IPC topic iotc/cmd/gg2d/sub → your component subscribes and handles it
Why IPC?
Decoupling: Your component doesn’t need MQTT credentials or cloud connection logic
Security: Only the SDK component has cloud-facing credentials
Simplicity: Just publish JSON to a local topic — the SDK handles protocol, buffering, and retry
Multi-component: Multiple custom components can send telemetry simultaneously