Skip to content

refactor: replace deprecated ActorMaterializer with Materializer#1108

Merged
He-Pin merged 1 commit into
apache:mainfrom
He-Pin:fix/remove-deprecated-ActorMaterializer
Jun 28, 2026
Merged

refactor: replace deprecated ActorMaterializer with Materializer#1108
He-Pin merged 1 commit into
apache:mainfrom
He-Pin:fix/remove-deprecated-ActorMaterializer

Conversation

@He-Pin

@He-Pin He-Pin commented Jun 28, 2026

Copy link
Copy Markdown
Member

Motivation

ActorMaterializer and ActorMaterializerSettings have been deprecated since Akka 2.6.0 in favor of Materializer.apply(system).

Modification

Replace ActorMaterializer(ActorMaterializerSettings(system).withInputBuffer(128, 128)) with Materializer(system) in TestServer.scala.

Result

Removes usage of deprecated ActorMaterializer API.

Tests

  • sbt "http-core / Test / compile" — success

References

None — deprecated API cleanup

Motivation:
ActorMaterializer and ActorMaterializerSettings have been deprecated
since Akka 2.6.0 in favor of Materializer.apply(system).

Modification:
Replace ActorMaterializer(ActorMaterializerSettings(system).withInputBuffer(128, 128))
with Materializer(system) in TestServer.scala.

Result:
Removes usage of deprecated ActorMaterializer API.

Tests:
- sbt "http-core / Test / compile" - success

References:
None - deprecated API cleanup

@pjfanning pjfanning left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

@He-Pin
He-Pin merged commit f0236b3 into apache:main Jun 28, 2026
5 checks passed
@He-Pin
He-Pin deleted the fix/remove-deprecated-ActorMaterializer branch June 28, 2026 22:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants