Commit graph

64 commits

Author SHA1 Message Date
scala-steward-asf[bot]
919d9c9309
Update protobuf-java to 3.25.6 (#1748)
* Update protobuf-java to 3.25.6

* regenerate protobuf classes with protoc 25.6

---------

Co-authored-by: scala-steward-asf[bot] <147768647+scala-steward-asf[bot]@users.noreply.github.com>
Co-authored-by: Arnout Engelen <arnout@bzzt.net>
2025-01-27 11:26:18 +01:00
scala-steward-asf[bot]
5b2aab6f7a
Update scalafmt-core to 3.8.4 (#1717)
* Update scalafmt-core to 3.8.4

* Reformat with scalafmt 3.8.4

Executed command: scalafmt --non-interactive

* Add 'Reformat with scalafmt 3.8.4' to .git-blame-ignore-revs

* remove postfixOps imports

Assuming we want to keep the default
`rewrite.avoidInfix.excludePostfix = false` - otherwise
we can drop this commit

---------

Co-authored-by: scala-steward-asf[bot] <147768647+scala-steward-asf[bot]@users.noreply.github.com>
Co-authored-by: Arnout Engelen <arnout@bzzt.net>
2025-01-18 10:36:38 +08:00
He-Pin(kerr)
a75bc7a772
chore: Make code compiles on JDK 23 (#1726) 2025-01-18 05:28:40 +08:00
He-Pin(kerr)
dbc9ed3a99
chore: Add support for controlling the NettyTransport's byteBuf allocator type. (#1707)
* chore: Add support for controlling the NettyTransport's byteBuf allocator type.

* chore: extract deriveByteBufAllocator method
2025-01-14 18:41:35 +08:00
PJ Fanning
ec5e33fdb9
add non-default config that allows InboundQuarantineCheck to ignore 'harmless' quarantine events (#1555)
* stub test for harmless=true

Update OutboundIdleShutdownSpec.scala

Update OutboundIdleShutdownSpec.scala

Update OutboundIdleShutdownSpec.scala

* add quarantinedButHarmless check for tests

* new test case

* Update OutboundIdleShutdownSpec.scala

* try to not shutdown when quarantine is harmless

* Update OutboundIdleShutdownSpec.scala

* Create quarantine.backwards.excludes

* Update quarantine.backwards.excludes

* update log message

* try to add config

* Update ArterySettings.scala

* add tests

* Update OutboundIdleShutdownSpec.scala

* rework test
2025-01-04 11:04:06 +01:00
He-Pin(kerr)
03712a927e
perf: optmize NettyChannelHandlerAdapter with explict extends. (#1667) 2025-01-04 00:27:42 +08:00
PJ Fanning
ef212e9a98
reimplement fix for akka/pekko cluster (#1594)
* Revert "revert #1568 due to test failures (#1587)"

This reverts commit 7af03e5215.

* temp run nightly test in this PR

* no need for square brackets because the set print adds them

* logging to find issue

* support tcp protocols

* Update ClusterDaemon.scala

* remove temp logging

* try to fix issue in Remoting

* extra tests

* more tests

* ignore udp tests

* try to make tests tidy up after failures

* Update MixedProtocolClusterSpec.scala

* Update MixedProtocolClusterSpec.scala

* run main cluster tests for PR
2025-01-01 12:13:50 +01:00
PJ Fanning
1e09622775
reduce use of scala.collection.JavaConverters (#1511)
Update Index.scala

Update Index.scala
2024-10-02 10:40:51 +01:00
PJ Fanning
711f711360
replace more uses of Util.immutableSeq (#1509)
* replace more uses of Util.immutableSeq

* Update ClusterClient.scala

* more changes

* Update NettySSLSupport.scala

* Update ClusterClient.scala

* Update ClusterClient.scala
2024-10-01 13:43:31 +01:00
scala-steward-asf[bot]
fa1351b213 Reformat with scalafmt 3.8.2
Executed command: scalafmt --non-interactive
2024-06-16 07:56:40 +01:00
PJ Fanning
e3410bcaa8
Pekko becomes TLP (#1214) 2024-03-22 14:16:08 +01:00
PJ Fanning
0646754739
forward fit Akka compat changes (#1211)
* Handle mixed akka/pekko protocol names

* add extra changes needed to get akka cluster support

* add default for pekko.remote.akka.version (#1112)

* add default for pekko.cluster.akka.version

* refactor configs

* Update reference.conf

* add validations for config settings

* Update RemoteSettings.scala

* Update RemoteSettingsSpec.scala

* scalafmt

---------

Co-authored-by: Matthew de Detrich <matthew.dedetrich@aiven.io>
2024-03-22 10:23:09 +01:00
Nicolas Vollmar
613a45bad9
Rework PhiAccrualFailureDetector to enable monitoring of interval (#1137)
* Introduce trait to avoid matching concrete subclass
* Extract interval method to make it available for recording metrics

---------
Co-authored-by: Matthew de Detrich <matthew.dedetrich@aiven.io>
2024-02-26 12:27:04 +01:00
PJ Fanning
46f93816ce
Protobuf 3.23.4 (#1103)
* protobuf-java 3.22.5

* deprecation issue

* protobuf-java 3.23.4
2024-02-07 14:32:56 +01:00
AndyChen(Jingzhang)
8ce4973fc9
Configuration typo fixes (#1100)
* configuration typo

* chore: all module configuration typo fix

* apply suggestion
2024-02-05 17:21:23 +01:00
PJ Fanning
8f142e3e18
improve performance in PEM reader (#997)
* improve performance in PEM reader

* revert use of java 11 readString method
2024-01-20 18:17:26 +01:00
PJ Fanning
11ba3d7bef
fix managerName to use pekko (#587)
* fix managerName to use `pekko`

* make name configurable

* Update PekkoProtocolTransport.scala
2024-01-16 13:53:57 +01:00
PJ Fanning
8c688dad2e
use more of StandardCharsets (#952)
* use more of StandardCharsets

* scalafmt
2024-01-14 23:50:50 +01:00
Laglangyue
6872f9c8b7
Fix some non-standard comments (#939)
* Fix some non-standard comments

* revert

---------

Co-authored-by: Jiafu Tang <jiafu.tang@qq.com>
2024-01-14 12:47:51 +01:00
PJ Fanning
6883d15576
use StandardCharsets (#934) 2024-01-13 12:40:16 +01:00
PJ Fanning
468aab0c63
reformat some headers (#921)
* reformat some headers

* add new line at EOF
2024-01-09 19:14:17 +01:00
Matthew de Detrich
8cb7d256dc Remove @inline annotations and enable Scala 2 inliner 2023-12-30 03:41:12 +01:00
PJ Fanning
ccce880d4c
license headers for mima files (#813) 2023-11-23 09:41:44 +01:00
Naoki Yamada
b7a5f673a9
add external javadoc links (#353) (#674)
Co-authored-by: Naoki Yamada <yamada.naoki@tis.co.jp>
2023-09-23 19:08:15 +01:00
He-Pin
57401818bc =remote Make use of FlushConsolidationHandler to improve throughput. 2023-09-22 02:23:01 +08:00
He-Pin
9288d4c6f1 =remote Drop the blocking usage. 2023-09-19 00:00:54 +08:00
He-Pin
62bf7cbc7d =remote Make ues of Netty's default resolver. 2023-09-18 23:08:08 +08:00
He-Pin
ee8b99294a =test Fix ssl relative tests on Windows. 2023-09-16 04:10:10 +08:00
kerr
46edc51a82
Migrate the classic transport to Netty 4 without CVEs (#643)
* !remoting Update classic transport from Netty 3 to netty4

* use lambda

* =sbt Update Netty4 version to 4.1.97.final

* Reduce allocation in ChannelLocalActor.

* Remove the duplicated code in NettyHelpers.
2023-09-16 02:24:28 +08:00
He-Pin
b37b5cde89 =test Fix keystore loading on Windows in RemotingSpec. 2023-09-09 22:56:11 +08:00
He-Pin
d0099a1b5c =remote Clean up unused field. 2023-09-09 19:12:21 +08:00
PJ Fanning
7426c8a1f4
simplify some NettyTransport code (#639)
fix imports

scalafmt
2023-09-09 00:30:31 +01:00
He-Pin
3860038d67 =str Makes use of the statefulMap to make code simpler. 2023-08-31 23:28:01 +08:00
PJ Fanning
4f570ea24c
Yet more Akka version numbers in deprecation warnings (#545)
* Yet more Akka version numbers in deprecation warnings

more

* more akka version numbers

Update ClusterMessageSerializer.scala

more changes
2023-08-07 00:47:04 +01:00
PJ Fanning
4169e7d476 fix up some docs with version numbers that are Akka versions 2023-08-04 13:03:25 +08:00
PJ Fanning
964dcf53eb
remove shaded protobuf-java v2 jar (pekko-protobuf) (#489)
* remove protobuf v2 support

* Update OSGi.scala

* ci issue

* remove refs to pekko-protobuf classes

* fix comment

* update comments

* Update Serialization.scala
2023-08-01 11:35:58 +01:00
PJ Fanning
8d5c34f48f
replace use of Akka in comments (#516)
* replace use of Akka in comments

* fix config name
2023-07-31 11:06:17 +01:00
PJ Fanning
b542f99277
remove $ from class name (#492)
* remove $ from class name

* mima check

Update binary-compatibility-checks.yml
2023-07-18 08:32:08 +01:00
He-Pin
fbac70e9dd =ret Change the comment of Akka to Pekko.
Signed-off-by: He-Pin <hepin1989@gmail.com>
2023-07-17 14:05:48 +08:00
PJ Fanning
533759ae56
enable mima check (#481)
* enable mima check

* use java 11 when running mima checks (java 8 builds are missing jfr classes)

* copy over excludes from akka

* fix up excludes
2023-07-15 10:31:54 +01:00
Matthew de Detrich
66c3484986 Set default timefactor for ActorsLeakSpec so it can pass locally 2023-07-06 15:50:00 +02:00
PJ Fanning
b0fdac259b
adjust ASF header (#450) 2023-06-22 14:19:26 +01:00
Matthew de Detrich
2df2e0294f Remove fqcn 2023-06-17 12:51:25 +02:00
PJ Fanning
1612950702
fix up refs to Akka in source code (#374)
* fix up refs to Akka in source code

* Update distributed-data.md
2023-06-07 14:51:57 +01:00
He-Pin
008bdd5190 =sbt Upgrade to Scala 2.12.18 and 2.13.11. 2023-06-03 21:38:07 +08:00
Matthew de Detrich
480f516398
Unwrap single string interpolation syntax 2023-05-24 16:28:02 +02:00
Sam Byng
dcacb0ff03
Fix #203: Update truststores/keystores for pekko-remote (#298)
* Issue 203: Regenerate the keystore/truststore for remote tests

I've followed the guide at https://www.digicert.com/kb/ssl-support/openssl-quick-reference-guide.htm to update the makefile's domain.csr recipe. I then ran 'make' and deleted any files that were not there previously (i.e. the private key)

* Update akka-remote to pekko-remote to reflect new test cert
2023-04-28 18:44:24 +02:00
PJ Fanning
321c572114
upgrade to jackson 2.14.2 (#273)
* upgrade to jackson 2.14.2

* scala 3.2.2 needed

* another deprecation issue

* ignore deprecation warnings in Scala 3 build

* Update PekkoDisciplinePlugin.scala

* scala 3.2 compile issues

* more scala upgrade issues

* import order

* Update actor-typed-tests/src/test/scala/docs/org/apache/pekko/typed/InteractionPatternsSpec.scala

Co-authored-by: Johannes Rudolph <johannes.rudolph@gmail.com>

---------

Co-authored-by: Johannes Rudolph <johannes.rudolph@gmail.com>
2023-04-05 15:44:58 +02:00
PJ Fanning
c23f9fb834 artery port = 17355 2023-03-09 05:00:01 +08:00
PJ Fanning
1969f7580d change 2552+ port numbers 2023-03-09 05:00:01 +08:00