This article explores the challenges and solutions for event-driven communication between edge and cloud using Akka Projections and brokerless service-to-service communication. It discusses the use of monotonically increasing sequence numbers for event tracking, remote projections over gRPC, handling disconnection and historical events, using H2 database as an event journal and offset store, and optimizing database access with a firehose query.
Table of contents
Connecting from edgeSpeed up startup time with snapshotsLightweight storageScaling to many edge consumersConclusionSort: