0

Is it possible write a PubSubHubBub hub service over ZeroMQ ?

UPDATE: I didn't intend rewrite PubSubHubbub protocol. I thought it was possible to write a HUB, implemented on top of ZMQ_PUB/ZMQ_SUB socket (zmq_socket(3)), but it's not clear to me until now, if it make sense or what.

Luca G. Soave
  • 12,271
  • 12
  • 58
  • 109

1 Answers1

1

PubSubHubbub has its own protocol. To make 0mq use the protocol you would have to add a new teansport to 0MQ. Which is a rather complex thing to do, especially as PubSubHubbub protocol is based on XML and thus not that easily parsable.

You can implement PubSubHubbub/0MQ bridge though. It should be easy.

sustrik
  • 66
  • 2
  • what's a bridge & does make it sense ? ... some exmple code ? ... ruby ? – Luca G. Soave Jun 21 '11 at 20:41
  • Bridge is an application that takes data in one format and moves them on in another format. In this case from PubSubHubbub to 0MQ and vice versa. – sustrik Jun 22 '11 at 11:57