Stream-based library for RabbitMQ built-in on top of Fs2 and the RabbitMq Java Client.
Disclaimer: It was created just to solve my specific cases, but more features will be added as needed. Contributors are welcome :)
Add this to your build.sbt:
libraryDependencies += "com.github.gvolpe" %% "fs2-rabbit" % Version
And this one if you would like to have Json support:
libraryDependencies += "com.github.gvolpe" %% "fs2-rabbit-circe" % Version
fs2-rabbit
has the following dependencies and it's cross compiled to Scala 2.11.12
and 2.12.6
:
Dependency | Version |
---|---|
cats | 1.1.0 |
cats-effect | 1.0.0-RC |
fs2 | 0.10.4 |
circe | 0.9.2 |
amqp-client | 4.1.0 |
Check the official guide for updated compiling examples.
Company | Description |
---|---|
Philips Lighting | Internal microservices interaction. |
Klarna | Fintech services. |
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this project except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0.
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.