Commit Graph

57 Commits

Author SHA1 Message Date
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
6e37bbd1ae Prevent send RDY every iteration 2021-01-23 02:29:36 +03:00
bc276c7c57 Readme: update requirements 2021-01-23 02:29:36 +03:00
9f95dff2ec Allow configure heartbeat_interval 2021-01-23 02:16:29 +03:00
e821f04ebe Try to resolve hostname if no configured 2021-01-23 02:16:05 +03:00
df89322fe0 Drop php 7.4 2021-01-23 02:15:12 +03:00
33e96e6bdc Escape newline chars 2021-01-23 02:12:41 +03:00
b6995c8f3d cs: actualize variable names 2021-01-23 01:42:20 +03:00
8725c654b2 Tests: call touch 2021-01-23 01:40:39 +03:00
6eeb2939c8 Rename Reader to Consumer and Writer to Producer 2021-01-23 01:35:09 +03:00
bf738254b1 cs: php_unit_test_case_static_method_calls with call_type self 2021-01-23 01:31:42 +03:00
18ecca3c40 Merge Envelope with Message 2021-01-23 01:30:29 +03:00
7873a9f010 Receive Reader as dependency in Subscriber instead of extending it 2021-01-23 01:24:35 +03:00
6509753bd9 publish api port for tests 2021-01-23 01:16:34 +03:00
98642e9f6c Composer: fix test script 2021-01-23 01:15:14 +03:00
fbe24eb6c4 Add Response object 2021-01-23 01:14:57 +03:00
8046eae846 Remove Config class 2021-01-23 00:37:48 +03:00
c7617cbf6e Add logger 2021-01-23 00:36:45 +03:00
eaab94286d Send client_id, hostname and user_agent to NSQ on connect 2021-01-23 00:34:15 +03:00
fb7857291e Composer: rename phpcs to cs-check, csfix to cs 2021-01-23 00:32:39 +03:00
b87c691eb3 Readme: update Subscriber example 2021-01-21 23:47:54 +03:00
914d2690f1 Readme: add change_timeout example 2021-01-21 23:41:16 +03:00
9358746a8a Readme: change description 2021-01-21 23:33:43 +03:00
deb4ce686b Refactoring: Remove Connection::consume, add NsqException, add tests, allow dynamic change timeout in subscriber 2021-01-21 23:18:14 +03:00
33bcb99c86 Readme: add semver 2021-01-20 18:56:44 +03:00
c7970f9902 Use constant for gracefully shutdown value 2021-01-20 18:38:48 +03:00