ppkarwasz commented on PR #2442:
URL: https://github.com/apache/logging-log4j2/pull/2442#issuecomment-2058762386
@remkop,
> @ppkarwasz I don't think there is a garbage-free way to do Reactive
streams. I would keep this simple and not worry about any garbage-free use
cases.
ppkarwasz closed pull request #2442: Add support for thread context map
propagation
URL: https://github.com/apache/logging-log4j2/pull/2442
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the
remkop commented on PR #2442:
URL: https://github.com/apache/logging-log4j2/pull/2442#issuecomment-2058746052
> Is there any usage for context propagation in the "garbage-free world"? My
guess is that switching threads using Reactive streams or similar provides too
much garbage for it to
ppkarwasz commented on PR #2442:
URL: https://github.com/apache/logging-log4j2/pull/2442#issuecomment-2058655973
@remkop,
Is there any usage for context propagation in the "garbage-free world"? My
guess is that switching threads using Reactive streams or similar provides too
much
ppkarwasz commented on code in PR #2442:
URL: https://github.com/apache/logging-log4j2/pull/2442#discussion_r1566981486
##
log4j-api/src/main/java/org/apache/logging/log4j/spi/ExtendedThreadContext.java:
##
@@ -0,0 +1,63 @@
+/*
+ * Licensed to the Apache Software Foundation
rgoers commented on code in PR #2442:
URL: https://github.com/apache/logging-log4j2/pull/2442#discussion_r1566715733
##
log4j-api/src/main/java/org/apache/logging/log4j/spi/ExtendedThreadContext.java:
##
@@ -0,0 +1,63 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF)
vy commented on code in PR #2442:
URL: https://github.com/apache/logging-log4j2/pull/2442#discussion_r1566341055
##
src/changelog/.2.x.x/add_extended_thread_context.xml:
##
@@ -0,0 +1,7 @@
+
+http://www.w3.org/2001/XMLSchema-instance;
+
vy commented on code in PR #2442:
URL: https://github.com/apache/logging-log4j2/pull/2442#discussion_r1566341055
##
src/changelog/.2.x.x/add_extended_thread_context.xml:
##
@@ -0,0 +1,7 @@
+
+http://www.w3.org/2001/XMLSchema-instance;
+
rgoers commented on code in PR #2442:
URL: https://github.com/apache/logging-log4j2/pull/2442#discussion_r1563689177
##
log4j-api/src/main/java/org/apache/logging/log4j/spi/ExtendedThreadContext.java:
##
@@ -0,0 +1,63 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF)
jvz commented on code in PR #2442:
URL: https://github.com/apache/logging-log4j2/pull/2442#discussion_r1563251355
##
log4j-api/src/main/java/org/apache/logging/log4j/spi/ExtendedThreadContext.java:
##
@@ -0,0 +1,63 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF)
ppkarwasz commented on PR #2442:
URL: https://github.com/apache/logging-log4j2/pull/2442#issuecomment-2051349123
I realized now that in this PR I assume that the `Object` returned by
`saveMap` will be used **only** once in a `restoreMap` call. This assumption
might be too restrictive for
ppkarwasz commented on PR #2442:
URL: https://github.com/apache/logging-log4j2/pull/2442#issuecomment-2051291811
> Son of a gun, I forgot to hit submit so none of my comments have been
viewable.
It happens to me all the time or even I hit it, but a network problem
prevents the
ppkarwasz commented on code in PR #2442:
URL: https://github.com/apache/logging-log4j2/pull/2442#discussion_r1562164031
##
log4j-api/src/main/java/org/apache/logging/log4j/spi/ExtendedThreadContext.java:
##
@@ -0,0 +1,63 @@
+/*
+ * Licensed to the Apache Software Foundation
ppkarwasz commented on code in PR #2442:
URL: https://github.com/apache/logging-log4j2/pull/2442#discussion_r1562087991
##
log4j-api/src/main/java/org/apache/logging/log4j/spi/DefaultThreadContextMap.java:
##
@@ -231,4 +231,21 @@ public boolean equals(final Object obj) {
rgoers commented on code in PR #2442:
URL: https://github.com/apache/logging-log4j2/pull/2442#discussion_r1552486927
##
log4j-api/src/main/java/org/apache/logging/log4j/spi/ExtendedThreadContext.java:
##
@@ -0,0 +1,63 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF)
15 matches
Mail list logo