Skip to content

SASL PLAIN support and create topic API

Pre-release
Pre-release
Compare
Choose a tag to compare
@lukel97 lukel97 released this 25 Apr 22:11
· 4 commits to master since this release
1c5a7be

You can now connect to clusters with PLAIN authentication:

let cluster = Cluster(brokers: [("localhost", 9092)],
                      clientId: "saslClient",
                      authentication: .plain(username: "franz", password: "password"))

You can also create new topics:

cluster.createTopic(name: "myTopic", partitions: 3, replicationFactor: 2)