pub
pub is an executable for piping data from stdin to a specified Redis pub/sub channel. A typical use for this tool is to tail a log file, match a specific line with grep, and pipe it into Redis where multiple consumers can do something different with each incoming log line: It also comes with a utility named sub for piping from a Redis pub/sub channel to stdout: Package maintainers For package maintainers and hackage trustees Candidates The pub utility publishes input from stdin to a redis channel and the sub utility consumes from a redis channel, writing to stdout. Publishing to Redis from stdin is easy with the pub utility: and subscribing to Redis channels and piping to stdout is also easy with the sub utility: You can build multiple ways:
hackage.haskell.org
3.0.0
almost 9 years ago
6
4,609 total
Links
| Registry | hackage.haskell.org |
| JSON API | View JSON |
| CodeMeta | codemeta.json |
Package Details
| PURL |
pkg:hackage/pub
spec |
| License | BSD-3-Clause |
| First Release | over 11 years ago |
| Last Synced | 18 days ago |