Skip to content

Instantly share code, notes, and snippets.

@taotetek
Created May 7, 2016 12:40
Show Gist options
  • Save taotetek/5d88c244a20e57757fadc43a45d736e0 to your computer and use it in GitHub Desktop.
Save taotetek/5d88c244a20e57757fadc43a45d736e0 to your computer and use it in GitHub Desktop.
module(
load="imczmq"
authenticator="on"
authtype="CURVESERVER"
clientcertpath="/etc/curve.d/"
servercertpath="/etc/curve.d/server_cert"
)
module(
load="omczmq"
authtype="CURVESERVER"
clientcertpath="/etc/curve.d/"
servercertpath="/etc/curve.d/server_cert"
)
input(
type="imczmq"
socktype="PULL"
endpoints="@tcp://*:22222"
)
action(
name="to_zeromq"
type="omczmq"
socktype="PUSH"
endpoints="@tcp://*:22223"
)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment