You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@couchdb.apache.org by meredrica <st...@meredrica.org> on 2014/01/03 01:11:45 UTC

Small tool for CouchDB changes feeds

Hello all!

Long lived HTTP connections like the continuous feed from CouchDB are 
not exactly in wide use. I had an issue using them together with vert.x 
[1] because there is no API to close the stream from the vert.x side.

So I wrote couchpipe - a simple Java server that consumes a changes 
feed, parses the messages and POSTs them to a configurable HTTP endpoint.
It watches the stream for timeouts, reconnects if a configurable amount 
of Time did not yield any data and supports HTTP Basic auth.And itt's 
released under modified BSD license.

Maybe this helps somebody :)

You can find it here:
https://github.com/cosea/couchpipe


[1]: http://www.vertx.io

Re: Small tool for CouchDB changes feeds

Posted by Andy Wenk <an...@nms.de>.
cool! Maybe you wann write a blog post about this and / or put a link to
the wiki ... e.g. here https://wiki.apache.org/couchdb/How-To_Guides. If
that place is not good, we could think about opening a new page with user
written tools :)

Before doing all this, it would be cool to get some feedback from other
users :)


On 3 January 2014 01:11, meredrica <st...@meredrica.org> wrote:

> Hello all!
>
> Long lived HTTP connections like the continuous feed from CouchDB are not
> exactly in wide use. I had an issue using them together with vert.x [1]
> because there is no API to close the stream from the vert.x side.
>
> So I wrote couchpipe - a simple Java server that consumes a changes feed,
> parses the messages and POSTs them to a configurable HTTP endpoint.
> It watches the stream for timeouts, reconnects if a configurable amount of
> Time did not yield any data and supports HTTP Basic auth.And itt's released
> under modified BSD license.
>
> Maybe this helps somebody :)
>
> You can find it here:
> https://github.com/cosea/couchpipe
>
>
> [1]: http://www.vertx.io
>



-- 
Andy Wenk
Hamburg - Germany
RockIt!

http://www.couchdb-buch.de
http://www.pg-praxisbuch.de

GPG fingerprint: C044 8322 9E12 1483 4FEC 9452 B65D 6BE3 9ED3 9588

https://people.apache.org/keys/committer/andywenk.asc