144 Commits

Author SHA1 Message Date
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
46f0e8bea5 Add isFinished to Envelope 2021-01-20 17:53:24 +03:00
6a7fac12cb Readme: add usage 2021-01-20 17:13:43 +03:00
0a926ce607 Refactoring: Extend Reader and Writer from Connection 2021-01-20 16:46:29 +03:00
fdd65cb547 Composer: add scripts for dev 2021-01-20 14:43:46 +03:00
c5b0d3b986 Readme: flip pub/sub 2021-01-20 13:34:21 +03:00
c57490359a Initial commit 2021-01-19 20:39:03 +03:00
7c6284efcb Initial commit 2021-01-19 20:33:35 +03:00