GithubHelp home page GithubHelp logo

libnsq's People

Contributors

belltoy avatar jehiah avatar joshelson avatar mreiferson avatar ploxiln avatar ycsunjane avatar yerstd avatar zoyopei avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

libnsq's Issues

OSX: no data received

Hi,
trying the test file you wrote. I successfully receive the heartbeat but when I try to publish something on a topic, the test receives data but it's empty and every attempt to publish again on the same topic the test fails to receive any data.
Any suggestion?
Thanks
Antonio

commit fa0f9a293e759e1d7179035674b7ccfe3b558e84 causes segfault

nsqd_connection_stop_timer() causes segfault, the diff below fixes the segfault
I was able to replicate the issue if a nsqd producer is inaccessible.

diff --git a/nsqd_connection.c b/nsqd_connection.c
index d47ed18..b1a04fd 100644
--- a/nsqd_connection.c
+++ b/nsqd_connection.c
@@ -159,7 +159,7 @@ void nsqd_connection_init_timer(struct NSQDConnection *conn,
 void nsqd_connection_stop_timer(struct NSQDConnection *conn)
 {
     if (conn && conn->reconnect_timer) {
-        ev_timer_stop(conn->loop, conn->reconnect_timer);
-        free(conn->reconnect_timer);
+        //ev_timer_stop(conn->loop, conn->reconnect_timer);
+        //free(conn->reconnect_timer);
     }
 }

Should ignoring the `FrameTypeError` be OK?

I notice that libnsq just ignore the FrameTypeError. Should it be OK?

In my case, I cache some messages received and handle them a little later, but if it take more time before sending back finish command than the nsqd option msg_timeout, the finish command would be failed. I think we should need to know the error response from nsqd.

code here

sending messages

Hello! Is there any plan to support sending messages to the queue?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.