no logs, it doesn't seem to do anything in send method and it get stuck in close() on thread.join and when terminate the process i get this log in the kafka server:
---------------------------------------------------------------------------------------
[2015-02-25 10:36:41,126] ERROR Closing socket for /
82.166.148.154 because of error (kafka.network.Processor)
java.io.IOException: Connection reset by peer
at sun.nio.ch.FileDispatcherImpl.read0(Native Method)
at sun.nio.ch.SocketDispatcher.read(SocketDispatcher.java:39)
at sun.nio.ch.IOUtil.readIntoNativeBuffer(IOUtil.java:223)
at sun.nio.ch.IOUtil.read(IOUtil.java:197)
at sun.nio.ch.SocketChannelImpl.read(SocketChannelImpl.java:379)
at kafka.utils.Utils$.read(Utils.scala:380)
at kafka.network.BoundedByteBufferReceive.readFrom(BoundedByteBufferReceive.scala:54)
at kafka.network.Processor.read(SocketServer.scala:444)
at kafka.network.Processor.run(SocketServer.scala:340)
at java.lang.Thread.run(Thread.java:745)
----------------------------------------------------------------------------------------------------------------------------------
Also, when I run the program from the server with "localhost" instead of the server ip it works fine.
so I guess there is a problem of connection to the server from my computer or other machines (tried it too)