Hi Pieter, [email protected] said: > zdevice/1.0 is now available at > http://github.com/imatix/zdevices/tree/master/c/generic/. > > This application starts a single-threaded device based on a JSON > config file, or automagically from the command line. > > This is what a config file looks like: > > { > "context": { > "iothreads": 1, > "verbose": true > }, > "main" : { > "type": "zqueue", > "frontend": { > "option": { > "hwm": 1000, > "swap": 25000000 > }, > "bind": "tcp://eth0:5555" > }, > "backend": { > "bind": "tcp://eth0:5556" > } > } > } > > Feedback welcome. This is part of the zdevices project. It depends > on zmq and zfl.
My 2c: Tip: The README in the repo appears to be AsciiDoc. If you call it README.asciidoc, Github will format it for you when people browse the repository. Comment: I didn't get a chance to look at JSON before. One major fail for me personally is that it does not seem to be possible to put comments in JSON files. This is a shame since it goes against the good old tradition of UNIX configuration files including comments, so that you can edit e.g. a sample configuration file in one go rather than having to refer to some documentation. -mato _______________________________________________ zeromq-dev mailing list [email protected] http://lists.zeromq.org/mailman/listinfo/zeromq-dev
