diff --git a/.github/FUNDING.yml b/.github/FUNDING.yml new file mode 100644 index 00000000..38798a2c --- /dev/null +++ b/.github/FUNDING.yml @@ -0,0 +1,3 @@ +# These are supported funding model platforms + +github: roadrunner-server diff --git a/docs/en/app-server/cli.md b/docs/en/app-server/cli.md index 78e37696..dff259de 100644 --- a/docs/en/app-server/cli.md +++ b/docs/en/app-server/cli.md @@ -223,7 +223,7 @@ This command allows you to specify one or more pipelines to `pause`. For example `pipeline2`, you can use the following command: ```terminal -./rr jobs pause pipeline1,pipeline2 +./rr jobs --pause pipeline1,pipeline2 ``` ::: @@ -234,18 +234,18 @@ This command allows you to specify one or more pipelines to `resume`. For exampl `pipeline2`, you can use the following command: ```terminal -./rr jobs resume pipeline1,pipeline2 +./rr jobs --resume pipeline1,pipeline2 ``` ::: -::: tab Stop +::: tab Destroy -This command allows you to specify one or more pipelines to `stop`. For example, to stop pipelines `pipeline1` and +This command allows you to specify one or more pipelines to `destroy`. For example, to destroy pipelines `pipeline1` and `pipeline2`, you can use the following command: ```terminal -./rr jobs stop pipeline1,pipeline2 +./rr jobs --destroy pipeline1,pipeline2 ``` ::: @@ -255,7 +255,7 @@ This command allows you to specify one or more pipelines to `stop`. For example, To list all running pipelines, you can use the following command: ```terminal -./rr jobs list +./rr jobs --list ``` ### Available options @@ -279,4 +279,4 @@ For example: ```yaml .rr.yaml rpc: listen: "127.0.0.1:6001" -``` \ No newline at end of file +``` diff --git a/docs/en/kv/overview.md b/docs/en/kv/overview.md index 81346a4b..b764e028 100644 --- a/docs/en/kv/overview.md +++ b/docs/en/kv/overview.md @@ -5,7 +5,7 @@ communication with cache drivers such as: - [Redis Server](https://redis.io/), - [Memcached](https://memcached.org/), -- [BoltDB](https://github.com/etcd-io/bbolt) - not require a separate server, +- [BoltDB](https://github.com/etcd-io/bbolt) - does not require a separate server, - In-memory storage - temporary stores data in RAM. It is able to handle cache operations more efficiently than the same operations in PHP, leading to faster response times @@ -343,4 +343,4 @@ $response = RPC::create('tcp://127.0.0.1:6001') ->withServicePrefix('kv') ->withCodec(new ProtobufCodec()) ->call('MGet', new Request([ ... ]), Response::class); -``` \ No newline at end of file +``` diff --git a/docs/en/manifest.json b/docs/en/manifest.json index 197b2363..713dc1fd 100644 --- a/docs/en/manifest.json +++ b/docs/en/manifest.json @@ -141,6 +141,8 @@ "title": "Releases", "icon": "", "links": { + "releases/v2023-2-2": "v2023.2.2", + "releases/v2023-2-1": "v2023.2.1", "releases/v2023-2-0": "v2023.2.0", "releases/v2023-1-5": "v2023.1.5", "releases/v2023-1-4": "v2023.1.4", diff --git a/docs/en/php/worker.md b/docs/en/php/worker.md index 0571b42c..6026ab27 100644 --- a/docs/en/php/worker.md +++ b/docs/en/php/worker.md @@ -52,6 +52,9 @@ $psr7 = new PSR7Worker($worker, $factory, $factory, $factory); while (true) { try { $request = $psr7->waitRequest(); + if ($request === null) { + break; + } } catch (\Throwable $e) { // Although the PSR-17 specification clearly states that there can be // no exceptions when creating a request, however, some implementations @@ -232,4 +235,4 @@ interacting with RoadRunner. ## What's Next? -1. [Plugins โ€” Server](../plugins/server.md) - Read more about RoadRunner server plugin. \ No newline at end of file +1. [Plugins โ€” Server](../plugins/server.md) - Read more about RoadRunner server plugin. diff --git a/docs/en/plugins/server.md b/docs/en/plugins/server.md index 32d2e55f..fc6543ea 100644 --- a/docs/en/plugins/server.md +++ b/docs/en/plugins/server.md @@ -101,7 +101,7 @@ The `after_init` section is used to execute some script/binary when the pool of The `server.command` option is required and is used to start the worker pool for each configured section in the config. > **Note** -> This option can be overridden by plugins with a pool section, such as the http.pool.command. +> This option can be overridden by plugins with a pool section, such as the `http.pool.command`, or in general `.pool.command`. The `user` and `group` options allow you to set the user and group that will start and own the worker process. This feature provides an additional layer of security and control over the application's execution environment. diff --git a/docs/en/queues/kafka.md b/docs/en/queues/kafka.md index 1c4631c3..46342c3a 100644 --- a/docs/en/queues/kafka.md +++ b/docs/en/queues/kafka.md @@ -28,6 +28,13 @@ kafka: # Required to use Kafka driver brokers: [ "127.0.0.1:9092", "127.0.0.1:9002" ] + # Ping to test connection to Kafka + # + # Examples: "2s", "5m" + # Optional, default: "10s" + ping: + timeout: "10s" + # SASL authentication options to use for all connections. Depending on the auth type, plain or aws_msk_plain sections might be removed. # # Optional, default: empty diff --git a/docs/en/releases/v2023-2-1.md b/docs/en/releases/v2023-2-1.md new file mode 100644 index 00000000..0c20e4c9 --- /dev/null +++ b/docs/en/releases/v2023-2-1.md @@ -0,0 +1,13 @@ +## Description of Changes + +#
๐Ÿš€ v2023.2.1 ๐Ÿš€
+ +## ๐Ÿฉน Fixes + +- ๐Ÿ› **NATS driver**: Segfault when sending job via third-party sender without `consume_all` option set to `true`: [BUG](https://github.com/roadrunner-server/roadrunner/issues/1650), (thanks @KernelMrex). +- ๐Ÿ› **Metrics plugin**: Irregular panic when declaring metrics via `on_init` option: [BUG](https://github.com/roadrunner-server/roadrunner/issues/1648), (thanks @Kaspiman). +- ๐Ÿ› **Headers middleware**: Inconsistent usage of CORS options, failed to apply `allowed_*` options with spaces: [BUG](https://github.com/roadrunner-server/roadrunner/issues/1655), (thanks @gam6itko). + +###
๐Ÿงน Chore:
+ +- ๐Ÿง‘โ€๐Ÿญ **Dependencies**: update project dependencies. diff --git a/docs/en/releases/v2023-2-2.md b/docs/en/releases/v2023-2-2.md new file mode 100644 index 00000000..8bdef34f --- /dev/null +++ b/docs/en/releases/v2023-2-2.md @@ -0,0 +1,14 @@ +## Description of Changes + +#
๐Ÿš€ v2023.2.2 ๐Ÿš€
+ +## ๐Ÿฉน Fixes + +- ๐Ÿ› **JOBS plugin**: Fix typo in the `RPC` span name: [PR](https://github.com/roadrunner-server/jobs/pull/92), (thanks @Kaspiman). +- ๐Ÿ› **SDK**: Fix incorrect workers state when worker reached `idleTTL` state: [BUG](https://github.com/roadrunner-server/roadrunner/issues/1669), (thanks @Aleksa1996). + +###
๐Ÿงน Chore:
+ +- ๐Ÿง‘โ€๐Ÿญ **HTTP plugin**: faster PostForm/MultipartForm processing [PR](https://github.com/roadrunner-server/http/pull/145). +- ๐Ÿง‘โ€๐Ÿญ **Golang**: Update Golang version to v1.21. +- ๐Ÿง‘โ€๐Ÿญ **Dependencies**: update project dependencies.