Warning
This package is in early development and does NOT support many functionalities. Please do not use it in any critical environment.
pulsar-client-swift provides a Swift native implementation of the Apache Pulsar Messaging Protocol as a client library. The package is written on top of SwiftNIO to ensure a high-performance, non-blocking experience for the libary user. The client library does not necessarly expose any NIO components and can be worked with using standard Swift Concurrency Types.
Swift 6.0+
To integrate pulsar-client-swift
into your project using Swift Package Manager, follow these steps:
- Open your project in Xcode.
- Select
File
>Swift Packages
>Add Package Dependency...
. - Enter the package repository URL:
https://github.com/flexlixrup/pulsar-client-swift
. - Choose the latest release or specify a version range.
- Add the package to your target.
Alternatively, you can add the following dependency to your Package.swift
file:
dependencies: [
.package(url: "https://github.com/flexlixrup/pulsar-client-swift", from: "0.0.1")
]
Then, include Pulsar
as a dependency in your target:
.target(
name: "YourTargetName",
dependencies: [
"Pulsar"
]),
The full documentation is provided via DocC on Swift Package Manager.
Warning
This package uses Conventional Commits to detect the semantic versioning. Commits not following this format will not be accepted.
If you would like to contribute, please follow these steps:
- Fork the repository.
- Create a new branch (
git checkout -b feature-branch
). - Commit your changes (
git commit -am 'Add new feature'
). - Push to the branch (
git push origin feature-branch
). - Create a new Pull Request.
This project is licensed under the Apache 2 License - see the LICENSE file for details.
If you have any questions, feel free to open an issue.