fs2-queues

Common Queue Interface

The common abstractions are defined in the core module. To use it, add the following to your build.

libraryDependencies += "com.commercetools" %% "fs2-queues-core" % "0.1.0-23-b6be5e6-SNAPSHOT"

The library provides both low and high level APIs, making it possible to have fine grained control over queue pulling, or just focusing on processing, delegating message management to the library.

The design of the API is the result of the common usage patterns and how the various client SDKs are designed. There are several views possible on a queue:

The entry point is the QueueClient factory for each underlying queue system. For each supported queue provider, you can get an instance of the QueueClient, please refer to the Providers section to see how.