Joachim Bauch
af69bbf1e8
Update changelog for 2.0.3
v2.0.3
2025-05-07 11:46:11 +02:00
Joachim Bauch
ffa316b5e2
Merge pull request #988 from strukturag/jitter-reconnect
...
Add jitter to reconnect intervals.
2025-05-07 11:26:49 +02:00
Joachim Bauch
e0e6cb6e9d
Add jitter to reconnect intervals.
...
This prevents all servers from reconnecting at the same time in case of network
interruptions or service restarts.
2025-05-07 11:18:52 +02:00
Joachim Bauch
9ef23270b4
Merge pull request #987 from strukturag/detect-close-on-remote-publishers
...
Close subscriber if remote publisher was closed.
2025-05-07 11:12:42 +02:00
Joachim Bauch
420f7eb0ba
Close connection if last remote publisher is removed.
2025-05-07 10:28:49 +02:00
Joachim Bauch
6fa6dcc533
Handle "bye" in remote connections.
2025-05-07 09:55:01 +02:00
Joachim Bauch
5c4ffdc7a2
Close subscriber if remote publisher was closed.
2025-05-06 17:01:18 +02:00
Joachim Bauch
e8c4a02945
Provide access to public id of publishers.
2025-05-06 16:54:38 +02:00
Joachim Bauch
8ceab4f8ce
Merge branch 'danxuliu-fix-subscribers-not-closed-when-publisher-is-closed-in-janus-1.x'
2025-05-06 15:08:36 +02:00
Daniel Calviño Sánchez
47f05c9163
Fix subscribers not closed when publisher is closed in Janus 1.x
...
In Janus 0.x when a publisher is closed the subscribers are also
automatically closed (if configured to do so, which is the default).
However, in Janus 1.x, as a subscriber can be connected to several
publishers, when a publisher is closed its subscribers just receive an
"updated" event with the new state of the streams.
As multistream connections are not used yet in Talk it still makes sense
to close its subscribers when a publisher is closed, so subscribers are
now automatically closed if they receive an "updated" event and all the
media streams are inactive (note that data channels will be always
active).
Note that, although it should not be received with the current usage of
Janus API, an "updated" event without streams could be received if the
subscriber was updated but there were no changes in the streams, so in
that case the subscriber should not be closed.
Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2025-05-06 15:07:39 +02:00
Joachim Bauch
93fdf689c2
Merge pull request #985 from strukturag/dependabot/github_actions/golangci/golangci-lint-action-8.0.0
...
Bump golangci/golangci-lint-action from 7.0.0 to 8.0.0
2025-05-06 07:59:18 +02:00
dependabot[bot]
5e7a1df2b6
Bump golangci/golangci-lint-action from 7.0.0 to 8.0.0
...
Bumps [golangci/golangci-lint-action](https://github.com/golangci/golangci-lint-action ) from 7.0.0 to 8.0.0.
- [Release notes](https://github.com/golangci/golangci-lint-action/releases )
- [Commits](https://github.com/golangci/golangci-lint-action/compare/v7.0.0...v8.0.0 )
---
updated-dependencies:
- dependency-name: golangci/golangci-lint-action
dependency-version: 8.0.0
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
2025-05-05 20:53:06 +00:00
Joachim Bauch
702de28ceb
Merge pull request #983 from strukturag/dependabot/go_modules/github.com/nats-io/nats.go-1.42.0
...
Bump github.com/nats-io/nats.go from 1.41.2 to 1.42.0
2025-05-05 08:56:41 +02:00
dependabot[bot]
722c7e077c
Bump github.com/nats-io/nats.go from 1.41.2 to 1.42.0
...
Bumps [github.com/nats-io/nats.go](https://github.com/nats-io/nats.go ) from 1.41.2 to 1.42.0.
- [Release notes](https://github.com/nats-io/nats.go/releases )
- [Commits](https://github.com/nats-io/nats.go/compare/v1.41.2...v1.42.0 )
---
updated-dependencies:
- dependency-name: github.com/nats-io/nats.go
dependency-version: 1.42.0
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2025-05-05 06:49:08 +00:00
Joachim Bauch
6bb8b3fb5f
Merge pull request #982 from strukturag/dependabot/go_modules/github.com/nats-io/nats-server/v2-2.11.3
...
Bump github.com/nats-io/nats-server/v2 from 2.11.1 to 2.11.3
2025-05-05 08:47:49 +02:00
dependabot[bot]
01c5ec131c
Bump github.com/nats-io/nats-server/v2 from 2.11.1 to 2.11.3
...
Bumps [github.com/nats-io/nats-server/v2](https://github.com/nats-io/nats-server ) from 2.11.1 to 2.11.3.
- [Release notes](https://github.com/nats-io/nats-server/releases )
- [Changelog](https://github.com/nats-io/nats-server/blob/main/.goreleaser.yml )
- [Commits](https://github.com/nats-io/nats-server/compare/v2.11.1...v2.11.3 )
---
updated-dependencies:
- dependency-name: github.com/nats-io/nats-server/v2
dependency-version: 2.11.3
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2025-05-01 20:28:52 +00:00
Joachim Bauch
5a975a1177
Merge pull request #980 from strukturag/docker-server-config
...
docker: Make more settings configurable
2025-04-24 08:54:13 +02:00
Joachim Bauch
d6e5975f94
Fix shellcheck error.
2025-04-24 08:37:30 +02:00
Joachim Bauch
d6ce4adaa6
docker: Make proxy timeout configurable.
2025-04-24 08:33:55 +02:00
Joachim Bauch
1ce202f987
docker: Make connections per host configurable.
2025-04-24 08:33:55 +02:00
Joachim Bauch
0daf48ae2b
docker: Make timeout for backend requests configurable.
2025-04-24 08:33:54 +02:00
Joachim Bauch
7aad88e192
docker: Make federation timeout configurable.
2025-04-24 08:33:54 +02:00
Joachim Bauch
403a4417cb
docker: Allow configuring read/write timeouts.
2025-04-24 08:33:53 +02:00
Joachim Bauch
ea5eb424d6
docker: Support configuring compatibility backends.
2025-04-24 08:33:36 +02:00
Joachim Bauch
fa4b532a98
Merge pull request #977 from strukturag/dependabot/go_modules/github.com/nats-io/nats.go-1.41.2
...
Bump github.com/nats-io/nats.go from 1.41.1 to 1.41.2
2025-04-22 09:13:43 +02:00
Joachim Bauch
151ebeb45f
Merge pull request #978 from strukturag/dependabot/go_modules/google.golang.org/grpc-1.72.0
...
Bump google.golang.org/grpc from 1.71.1 to 1.72.0
2025-04-22 09:13:08 +02:00
dependabot[bot]
40be134746
Bump google.golang.org/grpc from 1.71.1 to 1.72.0
...
Bumps [google.golang.org/grpc](https://github.com/grpc/grpc-go ) from 1.71.1 to 1.72.0.
- [Release notes](https://github.com/grpc/grpc-go/releases )
- [Commits](https://github.com/grpc/grpc-go/compare/v1.71.1...v1.72.0 )
---
updated-dependencies:
- dependency-name: google.golang.org/grpc
dependency-version: 1.72.0
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2025-04-21 20:19:08 +00:00
dependabot[bot]
f2ce33478b
Bump github.com/nats-io/nats.go from 1.41.1 to 1.41.2
...
Bumps [github.com/nats-io/nats.go](https://github.com/nats-io/nats.go ) from 1.41.1 to 1.41.2.
- [Release notes](https://github.com/nats-io/nats.go/releases )
- [Commits](https://github.com/nats-io/nats.go/compare/v1.41.1...v1.41.2 )
---
updated-dependencies:
- dependency-name: github.com/nats-io/nats.go
dependency-version: 1.41.2
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2025-04-17 20:28:09 +00:00
Joachim Bauch
902911b850
Merge pull request #976 from strukturag/fix-flaky-dnsdiscovery
...
Fix flaky test "Test_GrpcClients_DnsDiscovery".
2025-04-17 09:52:24 +02:00
Joachim Bauch
ed11ef775c
Fix flaky test "Test_GrpcClients_DnsDiscovery".
...
Wait until initial hostname check has been performed before continuing test.
Otherwise the initial check could be executed too late and breaks assumptions in the test.
2025-04-17 09:47:03 +02:00
Joachim Bauch
53f736cb2e
Merge pull request #973 from strukturag/backend-client-stats
...
Add metrics for backend client requests.
2025-04-17 08:59:14 +02:00
Joachim Bauch
3435287cac
Merge pull request #975 from strukturag/dependabot/go_modules/github.com/fsnotify/fsnotify-1.9.0
...
Bump github.com/fsnotify/fsnotify from 1.8.0 to 1.9.0
2025-04-17 08:40:32 +02:00
Joachim Bauch
0fedc6828f
Merge pull request #974 from strukturag/dependabot/go_modules/github.com/prometheus/client_golang-1.22.0
...
Bump github.com/prometheus/client_golang from 1.21.1 to 1.22.0
2025-04-17 08:40:11 +02:00
Joachim Bauch
ca2d6eaf3d
Add metrics for backend client requests.
2025-04-17 08:28:41 +02:00
dependabot[bot]
0a351256f0
Bump github.com/fsnotify/fsnotify from 1.8.0 to 1.9.0
...
Bumps [github.com/fsnotify/fsnotify](https://github.com/fsnotify/fsnotify ) from 1.8.0 to 1.9.0.
- [Release notes](https://github.com/fsnotify/fsnotify/releases )
- [Changelog](https://github.com/fsnotify/fsnotify/blob/main/CHANGELOG.md )
- [Commits](https://github.com/fsnotify/fsnotify/compare/v1.8.0...v1.9.0 )
---
updated-dependencies:
- dependency-name: github.com/fsnotify/fsnotify
dependency-version: 1.9.0
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2025-04-16 20:28:53 +00:00
dependabot[bot]
63ab3ccffc
Bump github.com/prometheus/client_golang from 1.21.1 to 1.22.0
...
Bumps [github.com/prometheus/client_golang](https://github.com/prometheus/client_golang ) from 1.21.1 to 1.22.0.
- [Release notes](https://github.com/prometheus/client_golang/releases )
- [Changelog](https://github.com/prometheus/client_golang/blob/main/CHANGELOG.md )
- [Commits](https://github.com/prometheus/client_golang/compare/v1.21.1...v1.22.0 )
---
updated-dependencies:
- dependency-name: github.com/prometheus/client_golang
dependency-version: 1.22.0
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2025-04-16 20:28:51 +00:00
Joachim Bauch
1212c6021f
Describe new backend client metrics.
2025-04-16 17:14:25 +02:00
Joachim Bauch
498ebb333e
Merge pull request #972 from strukturag/tests-speedup
...
Speedup tests
2025-04-16 16:20:22 +02:00
Joachim Bauch
7bd4bf96f5
Only simulate sleeping in "TestBackoff_Exponential".
...
Add another test that (shortly) sleeps.
2025-04-16 16:07:37 +02:00
Joachim Bauch
271b45c963
Don't hardcode sleep before running leak checked test.
2025-04-16 15:54:21 +02:00
Joachim Bauch
6c9bfd7b84
Reduce timeout and ensure it is actually triggered.
2025-04-16 15:29:10 +02:00
Joachim Bauch
6206678e74
Run clients in "TestSessionIdsUnordered" concurrently.
2025-04-16 15:20:05 +02:00
Joachim Bauch
83e50d030e
Don't use hardcoded sleeps when waiting for NATS disconnect / reconnect.
2025-04-16 15:09:56 +02:00
Joachim Bauch
953dc28e94
Use RWMutex for ConcurrentStringStringMap and improve test performance.
2025-04-16 15:09:56 +02:00
Joachim Bauch
a5ce4aa8f4
Merge pull request #937 from strukturag/serverinfo-api
...
Add serverinfo API
2025-04-16 15:09:36 +02:00
Joachim Bauch
c830403cd7
Update generated files.
2025-04-16 14:29:57 +02:00
Joachim Bauch
3e9bace0ad
Move serverinfo result generation to source, add nats, gprc and etcd.
2025-04-16 14:29:56 +02:00
Joachim Bauch
957d930613
Add "version" to dialin sessions.
2025-04-16 14:29:55 +02:00
Joachim Bauch
6bb2582b61
Document dialout serverinfo.
2025-04-16 14:29:54 +02:00
Joachim Bauch
a5e41e4822
Include information on dialout sessions.
2025-04-16 14:29:54 +02:00