# How does logstash publish data to the nanomsg subscription service?

**URL:** <https://discuss.elastic.co/t/how-does-logstash-publish-data-to-the-nanomsg-subscription-service/159471>\
**Category:** Logstash\
**Created:** [December 5, 2018, 7:00am UTC](https://discuss.elastic.co/t/how-does-logstash-publish-data-to-the-nanomsg-subscription-service/159471 "2018-12-05T07:00:48Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![sun\_changlong](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/sun_changlong/32/39036_2.png) [@sun\_changlong](https://discuss.elastic.co/u/sun_changlong)\
**Post date:** [December 5, 2018, 7:00am UTC](https://discuss.elastic.co/t/how-does-logstash-publish-data-to-the-nanomsg-subscription-service/159471/1 "2018-12-05T07:00:48Z")

</div>

I want to use logstash to send data to my nanomsg service to implement the Pub/Sub mode. What middleware should I use to achieve this?

Can I borrow the kafka plugin to implement it?

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [January 2, 2019, 7:01am UTC](https://discuss.elastic.co/t/how-does-logstash-publish-data-to-the-nanomsg-subscription-service/159471/2 "2019-01-02T07:01:01Z")

</div>

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
