This is an automated email from the ASF dual-hosted git repository.

He-Pin pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/pekko.git


The following commit(s) were added to refs/heads/main by this push:
     new 1c79623bdf docs: remove the duplicated external address snippet in 
classic serialization (#3596)
1c79623bdf is described below

commit 1c79623bdf13e01d58c0a5d83d87954a4f9a03c1
Author: PJ Fanning <[email protected]>
AuthorDate: Fri Oct 9 05:22:30 2026 +0100

    docs: remove the duplicated external address snippet in classic 
serialization (#3596)
    
    Motivation:
    serialization-classic.md shows the #external-address-default snippet
    twice. The first use follows text about including the system's remote
    transport address in a serialized actor path; the second introduces
    "the default remote address" as if it were a different case, but shows
    the same code.
    
    Modification:
    Merge the two paragraphs: explain that typical systems have a single,
    default remote address (the one used by cluster support) next to the
    first snippet, and remove the duplicate.
    
    Result:
    The snippet appears once, with text that matches it.
    
    Tests:
    - Not run - docs only
    
    References:
    None - found during a review of the docs
---
 docs/src/main/paradox/serialization-classic.md | 12 ++----------
 1 file changed, 2 insertions(+), 10 deletions(-)

diff --git a/docs/src/main/paradox/serialization-classic.md 
b/docs/src/main/paradox/serialization-classic.md
index 54115c8363..66235288c5 100644
--- a/docs/src/main/paradox/serialization-classic.md
+++ b/docs/src/main/paradox/serialization-classic.md
@@ -47,7 +47,8 @@ address part of an actor’s path determines how that actor is 
communicated with
 Storing a local actor path might be the right choice if the retrieval happens
 in the same logical context, but it is not enough when deserializing it on a
 different network host: for that it would need to include the system’s remote
-transport address.
+transport address. Typical systems have a single remote address, the default 
one
+used by cluster support, and you can include it like this:
 
 Scala
 :  @@snip 
[SerializationDocSpec.scala](/docs/src/test/scala/docs/serialization/SerializationDocSpec.scala)
 { #external-address-default }
@@ -70,12 +71,3 @@ include the unique id.
 
 @@@
 
-There is also a default remote address which is the one used by cluster support
-(and typical systems have just this one); you can get it like this:
-
-Scala
-:  @@snip 
[SerializationDocSpec.scala](/docs/src/test/scala/docs/serialization/SerializationDocSpec.scala)
 { #external-address-default }
-
-Java
-:  @@snip 
[SerializationDocTest.java](/docs/src/test/java/jdocs/serialization/SerializationDocTest.java)
 { #external-address-default }
-


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to