Skip to content
master
Go to file
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 

README.md

Scala NSQ client built on top of Finagle

Example Usage

val nsq = NsqSubscriber("Mindtalk", "MindtalkApp",
    "127.0.0.1:4161", "mindtalk", "nsqie")

nsq.listen { case (topic, channel, msg) =>
    println("got data %s from topic %s in channel %s".format(msg, topic, channel))
    MessageHandleReturn.SUCCESS
}

NsqClient.publish("127.0.0.1:4151", "mindtalk",
    "hello " + System.currentTimeMillis() + " :P")

Under heavy development, don't use this in production.

[] Robin Sy.

About

NSQ Scala client built on top of Finagle

Resources

Releases

No releases published

Packages

No packages published

Languages

You can’t perform that action at this time.