Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
78 changes: 0 additions & 78 deletions .rr.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -1959,84 +1959,6 @@ grpc:
# Default: 60s
destroy_timeout: 60s

# [SINCE 2.6] TCP plugin
tcp:
# The list of TCP servers to start. There are can be any number of servers you want to allocate.
servers:

# Server name. Can be any string. Will be sent to the worker in the context.
#
# Default: none.
server1:

# Address to listen.
#
# Error if empty.
addr: 127.0.0.1:7778

# Data packets delimiter. Every send should end either with EOF or with the delimiter.
#
# Default: CRLF (\r\n)
delimiter: "\r\n"

server2:
addr: 127.0.0.1:8811
server3:
addr: 127.0.0.1:8812
delimiter: "\r\n"
# Chunks that RR uses to read the data. In MB. If you expect big payloads on a TCP server, to reduce `read` syscalls, would be a good practice to use a fairly big enough buffer.
#
# Default: 1MB
read_buf_size: 10

# The worker pool to use for the TCP service.
pool:
# Debug mode for the pool. In this mode, pool will not pre-allocate the worker. Worker (only 1, num_workers ignored) will be allocated right after the request arrived.
#
# Default: false
debug: false

# Override server's command
#
# Default: empty
command: "php my-super-app.php"

# How many worker processes will be started. Zero (or nothing) means the number of logical CPUs.
#
# Default: 0
num_workers: 0

# Maximal count of worker executions. Zero (or nothing) means no limit.
#
# Default: 0
max_jobs: 0

# [2023.3.10]
# Maximum size of the internal requests queue. After reaching the limit, all additional requests would be rejected with error.
#
# Default: 0 (no limit)
max_queue_size: 0

# Timeout for worker allocation. Zero means 60s.
#
# Default: 60s
allocate_timeout: 60s

# Timeout for the reset timeout. Zero means 60s.
#
# Default: 60s
reset_timeout: 60s

# Timeout for the stream cancellation. Zero means 60s.
#
# Default: 60s
stream_timeout: 60s

# Timeout for worker destroying before process killing. Zero means 60s.
#
# Default: 60s
destroy_timeout: 60s

# [SINCE 2.6] Fileserver to serve static files.
fileserver:
# File server address
Expand Down
3 changes: 1 addition & 2 deletions CLAUDE.md
Original file line number Diff line number Diff line change
Expand Up @@ -83,11 +83,10 @@ RoadRunner uses the **Endure** dependency injection container. All plugins are r
**Protocol Servers:**
- `http`: HTTP/1/2/3 and FastCGI server with middleware support
- `grpc`: gRPC server
- `tcp`: Raw TCP connection handling

**Jobs/Queue Drivers:**
- `jobs`: Core jobs plugin
- `amqp`, `sqs`, `nats`, `kafka`, `beanstalk`: Queue backends
- `amqp`, `sqs`, `nats`, `kafka`, `beanstalk`, `nsq`: Queue backends
- `gps`: Google Pub/Sub

**KV Stores:**
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Image page: <https://hub.docker.com/_/golang>
FROM --platform=${TARGETPLATFORM:-linux/amd64} golang:1.26-alpine AS builder
FROM --platform=${TARGETPLATFORM:-linux/amd64} golang:1.27-alpine AS builder

# app version and build date must be passed during image building (version without any prefix).
# e.g.: `docker build --build-arg "APP_VERSION=1.2.3" --build-arg "BUILD_TIME=$(date +%FT%T%z)" .`
Expand Down
2 changes: 1 addition & 1 deletion container/config_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import (
"testing"
"time"

"github.com/roadrunner-server/config/v5"
"github.com/roadrunner-server/config/v6"
"github.com/roadrunner-server/roadrunner/v2025/container"
"github.com/stretchr/testify/assert"
)
Expand Down
73 changes: 36 additions & 37 deletions container/plugins.go
Original file line number Diff line number Diff line change
@@ -1,41 +1,41 @@
package container

import (
"github.com/roadrunner-server/amqp/v5"
appLogger "github.com/roadrunner-server/app-logger/v5"
"github.com/roadrunner-server/beanstalk/v5"
"github.com/roadrunner-server/boltdb/v5"
"github.com/roadrunner-server/centrifuge/v5"
"github.com/roadrunner-server/fileserver/v5"
gps "github.com/roadrunner-server/google-pub-sub/v5"
grpcPlugin "github.com/roadrunner-server/grpc/v5"
"github.com/roadrunner-server/gzip/v5"
"github.com/roadrunner-server/headers/v5"
httpPlugin "github.com/roadrunner-server/http/v5"
"github.com/roadrunner-server/informer/v5"
"github.com/roadrunner-server/jobs/v5"
"github.com/roadrunner-server/kafka/v5"
"github.com/roadrunner-server/kv/v5"
"github.com/roadrunner-server/lock/v5"
"github.com/roadrunner-server/logger/v5"
"github.com/roadrunner-server/memcached/v5"
"github.com/roadrunner-server/memory/v5"
"github.com/roadrunner-server/metrics/v5"
"github.com/roadrunner-server/nats/v5"
rrOtel "github.com/roadrunner-server/otel/v5"
"github.com/roadrunner-server/prometheus/v5"
proxyIP "github.com/roadrunner-server/proxy_ip_parser/v5"
"github.com/roadrunner-server/redis/v5"
"github.com/roadrunner-server/resetter/v5"
rpcPlugin "github.com/roadrunner-server/rpc/v5"
"github.com/roadrunner-server/send/v5"
"github.com/roadrunner-server/server/v5"
"github.com/roadrunner-server/service/v5"
"github.com/roadrunner-server/sqs/v5"
"github.com/roadrunner-server/static/v5"
"github.com/roadrunner-server/status/v5"
"github.com/roadrunner-server/tcp/v5"
rrt "github.com/temporalio/roadrunner-temporal/v5"
"github.com/roadrunner-server/amqp/v6"
appLogger "github.com/roadrunner-server/app-logger/v6"
"github.com/roadrunner-server/beanstalk/v6"
"github.com/roadrunner-server/boltdb/v6"
"github.com/roadrunner-server/centrifuge/v6"
"github.com/roadrunner-server/fileserver/v6"
gps "github.com/roadrunner-server/google-pub-sub/v6"
grpcPlugin "github.com/roadrunner-server/grpc/v6"
"github.com/roadrunner-server/gzip/v6"
"github.com/roadrunner-server/headers/v6"
httpPlugin "github.com/roadrunner-server/http/v6"
"github.com/roadrunner-server/informer/v6"
"github.com/roadrunner-server/jobs/v6"
"github.com/roadrunner-server/kafka/v6"
"github.com/roadrunner-server/kv/v6"
"github.com/roadrunner-server/lock/v6"
"github.com/roadrunner-server/logger/v6"
"github.com/roadrunner-server/memcached/v6"
"github.com/roadrunner-server/memory/v6"
"github.com/roadrunner-server/metrics/v6"
"github.com/roadrunner-server/nats/v6"
"github.com/roadrunner-server/nsq/v6"
rrOtel "github.com/roadrunner-server/otel/v6"
"github.com/roadrunner-server/prometheus/v6"
proxyIP "github.com/roadrunner-server/proxy_ip_parser/v6"
"github.com/roadrunner-server/redis/v6"
"github.com/roadrunner-server/resetter/v6"
rpcPlugin "github.com/roadrunner-server/rpc/v6"
"github.com/roadrunner-server/send/v6"
"github.com/roadrunner-server/server/v6"
"github.com/roadrunner-server/service/v6"
"github.com/roadrunner-server/sqs/v6"
"github.com/roadrunner-server/static/v6"
"github.com/roadrunner-server/status/v6"
rrt "github.com/temporalio/roadrunner-temporal/v6"
)

// Plugins return active plugins for the endured container. Feel free to add or remove any plugins.
Expand Down Expand Up @@ -71,6 +71,7 @@ func Plugins() []any { //nolint:funlen
&kafka.Plugin{},
&beanstalk.Plugin{},
&gps.Plugin{},
&nsq.Plugin{},
// =========
//
// http server plugin with middleware
Expand All @@ -97,8 +98,6 @@ func Plugins() []any { //nolint:funlen
&memcached.Plugin{},
&redis.Plugin{},
// ==============
// raw TCP connections handling
&tcp.Plugin{},
// temporal plugin
&rrt.Plugin{},
}
Expand Down
Loading
Loading