Commit Graph

82 Commits

Author SHA1 Message Date
443473f53d handle heartbeat after reading frame 2021-02-05 00:08:06 +03:00
57b7715c2e simplify command 2021-02-04 23:09:47 +03:00
b126094e74 Close connection on __destruct 2021-02-04 23:07:41 +03:00
15296f4b61 amphp 2021-02-04 22:57:46 +03:00
875cb8b542 Mark message methods as internal 2021-02-01 03:08:14 +03:00
b2b444d1ef cs: don't import globals 2021-02-01 02:49:53 +03:00
f6ef057e40 Snappy throw exception if extension not installed 2021-02-01 02:40:00 +03:00
db988a0914 Fix receiving partial message from nsq 2021-02-01 02:38:19 +03:00
3c0ec5574d add ru.grachevko.dhu labels 2021-02-01 02:33:38 +03:00
b395e1e3ee Fix receiving double heartbeat messages 2021-02-01 01:20:13 +03:00
801fdfe547 Snappy fix receiving partial message 2021-02-01 01:17:39 +03:00
3d8f5be2d0 Snappy 2021-02-01 00:39:07 +03:00
070b980003 Use Buffer in Producer::mpub 2021-01-31 18:11:37 +03:00
a66f622cf6 Expect heartbeat in checkIsOk 2021-01-31 18:11:24 +03:00
72dca5c73b Wrap Socket 2021-01-31 17:26:07 +03:00
e3485416a5 Move try/catch from readFrame to read 2021-01-30 18:40:34 +03:00
930314f1ac Convert comments to phpdoc 2021-01-30 18:26:31 +03:00
e1cca2d3eb Remove Subscriber 2021-01-30 18:22:34 +03:00
1a24efacfb NSQ Connection can subscribe only for one topic 2021-01-30 18:13:50 +03:00
a7b847146a Prevent recreate ByteBuffer objects 2021-01-30 18:05:36 +03:00
f74b82a400 Explode Response to Frames 2021-01-30 17:40:17 +03:00
fc6b67cc92 Add Dockerfile 2021-01-28 01:11:32 +03:00
d92f3911d5 Drop connection config on disconnect 2021-01-27 00:24:18 +03:00
c94f2df32e Fix snappy in ClientConfig serialize 2021-01-27 00:05:02 +03:00
ad4517d4ae Log reconnect attempt as warning 2021-01-27 00:03:45 +03:00
d4d64df087 Size must be greater then max output buffer 2021-01-26 17:03:21 +03:00
ec2363c064 ClientConfigTest 2021-01-25 10:16:29 +03:00
ccb4200110 readme: cleanup 2021-01-25 03:29:30 +03:00
0ba02103ef Restrict disable Feature Negotiation 2021-01-25 03:27:53 +03:00
da4331127b Refactoring: Move delay parameter as last in Producer::dpub 2021-01-25 03:27:04 +03:00
d9bf2a4437 Add ClientConfig and ConnectionConfig, Feature Negotiation and Authentication 2021-01-25 03:19:54 +03:00
551bcfb10b Refactoring: Add typed Connection::command method if favor of send 2021-01-25 01:56:58 +03:00
66b5b77bef Refactoring: remove Connection::sendWithResponse 2021-01-25 01:26:00 +03:00
33ef674e58 cs: add blank_line_before_statement 2021-01-24 23:15:51 +03:00
ebf82cf478 Reconnect 2021-01-24 23:15:07 +03:00
f0b8ad1373 Ignore Coverage in ConnectionFail 2021-01-24 23:15:07 +03:00
caa1bab9b5 Add more specific exceptions 2021-01-24 23:15:07 +03:00
92e8ca0812 Use LoggerAwareTrait 2021-01-24 23:15:07 +03:00
23c8681376 Require php:^8.0.1 2021-01-24 01:22:53 +03:00
b6ce107ed1 Heartbeat can receive Producer too 2021-01-24 01:21:35 +03:00
658949519d Sampling 2021-01-24 01:21:35 +03:00
8d03980177 update php path version 2021-01-24 01:14:16 +03:00
4cdc42e2fa psalm --output-format=github 2021-01-24 01:14:16 +03:00
6124d9360b Cache Composer Dependencies 2021-01-24 01:14:16 +03:00
d475ad8765 Infection (#4) 2021-01-23 23:34:18 +03:00
cc26255f6f Extract ProducerTest from NsqTest 2021-01-23 03:43:00 +03:00
d0594c601c Add MessageTest 2021-01-23 03:39:35 +03:00
33b1ee129b Mark consumer as final 2021-01-23 03:24:39 +03:00
54d9374478 sendWithResponse 2021-01-23 03:21:09 +03:00
5d407480db Add SubscriberTest 2021-01-23 02:59:41 +03:00