Alexander Preuß
04/03/2025, 5:16 PMKimB
04/04/2025, 10:55 AMLari Hotari
04/07/2025, 8:40 AMZixuan Liu
04/07/2025, 8:59 AMLari Hotari
04/08/2025, 4:31 PMZixuan Liu
04/09/2025, 7:48 AMLari Hotari
04/09/2025, 3:31 PMLari Hotari
04/10/2025, 9:13 AMWallace Peng
04/10/2025, 9:14 PM"cursors" : {
"15277-intentData" : {
"markDeletePosition" : "273317793:-1",
"readPosition" : "273976549:1",
"waitingReadOp" : true,
"pendingReadOps" : 0,
"messagesConsumedCounter" : 0,
"cursorLedger" : -1,
"cursorLedgerLastEntry" : -1,
"individuallyDeletedMessages" : "[]",
"lastLedgerSwitchTimestamp" : "2025-04-03T10:51:15.71Z",
"state" : "NoLedger",
"active" : true,
"numberOfEntriesSinceFirstNotAckedMessage" : 9,
"totalNonContiguousDeletedMessagesRange" : 0,
"subscriptionHavePendingRead" : true,
"subscriptionHavePendingReplayRead" : false,
"properties" : { }
}
is it messed up ? message id on the top is 273317793 right now (based peekmessage), backlog has 8 messages but state shows noLedger.Lari Hotari
04/15/2025, 8:11 AMhelm repo add --force-update apache-pulsar-dist-dev \
<https://dist.apache.org/repos/dist/dev/pulsar/helm-chart/4.0.1-candidate-1/>
helm repo update
helm install pulsar apache-pulsar-dist-dev/pulsar \
--version 4.0.1 --set affinity.anti_affinity=false \
--wait --timeout 10m --debug
For observing the deployment progress, you can use the k9s tool to
view the cluster state changes in a different terminal window.
The k9s tool is available at https://k9scli.io/topics/install/.
pulsar-4.0.1.tgz.prov - is also uploaded for verifying Chart
Integrity, though it is not strictly required for releasing the
artifact based on ASF Guidelines.
You can optionally verify this file using this helm plugin
https://github.com/technosophos/helm-gpg, or by using helm --verify
(https://helm.sh/docs/helm/helm_verify/).
helm fetch --prov apache-pulsar-dist-dev/pulsar
helm plugin install https://github.com/technosophos/helm-gpg
helm gpg verify pulsar-4.0.1.tgz
The vote will be open for at least 72 hours.
Only votes from PMC members are binding, but members of the community are
encouraged to test the release and vote with "(non-binding)".
For license checks, the .rat-excludes files is included, so you can
run the following to verify licenses (just update ):
tar -xvf pulsar-chart-4.0.1-source.tar.gz
cd pulsar-chart-4.0.1
java -jar /apache-rat-0.15/apache-rat-0.15.jar . -E .rat-excludes
Please note that the version number excludes the -candidate-X
string, so it's now
simply 4.0.1. This will allow us to rename the artifact without modifying
the artifact checksums when we actually release it.
Thanks,
LariLari Hotari
04/17/2025, 7:30 AMDanish
04/17/2025, 1:56 PMpulsar-site
• PR: Updating the article page with a blog post
• PR: Fix tag rendering in Card component for resource entriesChris Bono
04/17/2025, 8:58 PM太上玄元道君
04/19/2025, 6:22 AM太上玄元道君
04/19/2025, 6:30 AMMANI KUMAR KATHI
04/20/2025, 10:02 PMorg.apache.pulsar.broker.service.ServerCnx - [[id: 0xd8927293, L:/<host>:6650 - R:/<host>:54788] [SR:<host>, state:Connected]] Subscribing on topic <persistent://eventhub/xux/__transaction_buffer_snapshot-partition-0> / __system_reader-multiTopicsReader-b5a83d3ad0. consumerId: 3865, role: null
2025-04-17T00:38:01.443970374Z stdout F 2025-04-16T17:38:01,443-0700 [pulsar-io-19-29] WARN org.apache.pulsar.broker.service.ServerCnx - [/10.182.59.20:54788][<persistent://eventhub/rtngcepymt/__transaction_buffer_snapshot-partition-0][__system_reader-multiTopicsReader-b5a83d3ad0>] Failed to create consumer: consumerId=3865, Failed to load topic within timeout
2025-04-17T00:38:01.444003574Z stdout F java.util.concurrent.CompletionException: org.apache.pulsar.common.util.FutureUtil$LowOverheadTimeoutException: Failed to load topic within timeout
2025-04-17T00:38:01.444014334Z stdout F at java.base/java.util.concurrent.CompletableFuture.encodeRelay(Unknown Source) ~[?:?]
2025-04-17T00:38:01.444023234Z stdout F at java.base/java.util.concurrent.CompletableFuture.uniComposeStage(Unknown Source) ~[?:?]
2025-04-17T00:38:01.444032124Z stdout F at java.base/java.util.concurrent.CompletableFuture.thenCompose(Unknown Source) ~[?:?]
2025-04-17T00:38:01.444045994Z stdout F at org.apache.pulsar.broker.service.ServerCnx.lambda$handleSubscribe$24(ServerCnx.java:1330) ~[org.apache.pulsar-pulsar-broker-4.0.0.jar:4.0.0]
2025-04-17T00:38:01.444056064Z stdout F at java.base/java.util.concurrent.CompletableFuture.uniApplyNow(Unknown Source) [?:?]
2025-04-17T00:38:01.444068984Z stdout F at java.base/java.util.concurrent.CompletableFuture.uniApplyStage(Unknown Source) [?:?]
2025-04-17T00:38:01.444079084Z stdout F at java.base/java.util.concurrent.CompletableFuture.thenApply(Unknown Source) [?:?]
2025-04-17T00:38:01.444091314Z stdout F at org.apache.pulsar.broker.service.ServerCnx.handleSubscribe(ServerCnx.java:1271) [org.apache.pulsar-pulsar-broker-4.0.0.jar:4.0.0]
2025-04-17T00:38:01.444101514Z stdout F at org.apache.pulsar.common.protocol.PulsarDecoder.channelRead(PulsarDecoder.java:243) [org.apache.pulsar-pulsar-common-4.0.0.jar:4.0.0]
2025-04-17T00:38:01.444115774Z stdout F at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:444) [io.netty-netty-transport-4.1.113.Final.jar:4.1.113.Final]
2025-04-17T00:38:01.444128214Z stdout F at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:420) [io.netty-netty-transport-4.1.113.Final.jar:4.1.113.Final]
2025-04-17T00:38:01.444138334Z stdout F at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:412) [io.netty-netty-transport-4.1.113.Final.jar:4.1.113.Final]
2025-04-17T00:38:01.444150844Z stdout F at io.netty.handler.flow.FlowControlHandler.dequeue(FlowControlHandler.java:202) [io.netty-netty-handler-4.1.113.Final.jar:4.1.113.Final]
2025-04-17T00:38:01.444160774Z stdout F at io.netty.handler.flow.FlowControlHandler.channelRead(FlowControlHandler.java:164) [io.netty-netty-handler-4.1.113.Final.jar:4.1.113.Final]
2025-04-17T00:38:01.444172794Z stdout F at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:442) [io.netty-netty-transport-4.1.113.Final.jar:4.1.113.Final]
2025-04-17T00:38:01.444182814Z stdout F at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:420) [io.netty-netty-transport-4.1.113.Final.jar:4.1.113.Final]
2025-04-17T00:38:01.444195204Z stdout F at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:412) [io.netty-netty-transport-4.1.113.Final.jar:4.1.113.Final]
2025-04-17T00:38:01.444205294Z stdout F at io.netty.handler.codec.ByteToMessageDecoder.fireChannelRead(ByteToMessageDecoder.java:346) [io.netty-netty-codec-4.1.113.Final.jar:4.1.113.Final]
2025-04-17T00:38:01.444217384Z stdout F at io.netty.handler.codec.ByteToMessageDecoder.channelRead(ByteToMessageDecoder.java:318) [io.netty-netty-codec-4.1.113.Final.jar:4.1.113.Final]
2025-04-17T00:38:01.444250454Z stdout F at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:444) [io.netty-netty-transport-4.1.113.Final.jar:4.1.113.Final]
2025-04-17T00:38:01.444261114Z stdout F at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:420) [io.netty-netty-transport-4.1.113.Final.jar:4.1.113.Final]
2025-04-17T00:38:01.444273314Z stdout F at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:412) [io.netty-netty-transport-4.1.113.Final.jar:4.1.113.Final]
2025-04-17T00:38:01.444283234Z stdout F at io.netty.handler.flush.FlushConsolidationHandler.channelRead(FlushConsolidationHandler.java:152) [io.netty-netty-handler-4.1.113.Final.jar:4.1.113.Final]
2025-04-17T00:38:01.444293274Z stdout F at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:442) [io.netty-netty-transport-4.1.113.Final.jar:4.1.113.Final]
2025-04-17T00:38:01.444305384Z stdout F at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:420) [io.netty-netty-transport-4.1.113.Final.jar:4.1.113.Final]
2025-04-17T00:38:01.444326004Z stdout F at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:412) [io.netty-netty-transport-4.1.113.Final.jar:4.1.113.Final]
2025-04-17T00:38:01.444338764Z stdout F at io.netty.channel.DefaultChannelPipeline$HeadContext.channelRead(DefaultChannelPipeline.java:1357) [io.netty-netty-transport-4.1.113.Final.jar:4.1.113.Final]
2025-04-17T00:38:01.444349094Z stdout F at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:440) [io.netty-netty-transport-4.1.113.Final.jar:4.1.113.Final]
2025-04-17T00:38:01.444361064Z stdout F at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:420) [io.netty-netty-transport-4.1.113.Final.jar:4.1.113.Final]
2025-04-17T00:38:01.444371104Z stdout F at io.netty.channel.DefaultChannelPipeline.fireChannelRead(DefaultChannelPipeline.java:868) [io.netty-netty-transport-4.1.113.Final.jar:4.1.113.Final]
2025-04-17T00:38:01.444383714Z stdout F at io.netty.channel.epoll.AbstractEpollStreamChannel$EpollStreamUnsafe.epollInReady(AbstractEpollStreamChannel.java:799) [io.netty-netty-transport-classes-epoll-4.1.113.Final.jar:4.1.113.Final]
2025-04-17T00:38:01.444393924Z stdout F at io.netty.channel.epoll.EpollEventLoop.processReady(EpollEventLoop.java:501) [io.netty-netty-transport-classes-epoll-4.1.113.Final.jar:4.1.113.Final]
2025-04-17T00:38:01.444406734Z stdout F at io.netty.channel.epoll.EpollEventLoop.run(EpollEventLoop.java:399) [io.netty-netty-transport-classes-epoll-4.1.113.Final.jar:4.1.113.Final]
2025-04-17T00:38:01.444419234Z stdout F at io.netty.util.concurrent.SingleThreadEventExecutor$4.run(SingleThreadEventExecutor.java:997) [io.netty-netty-common-4.1.113.Final.jar:4.1.113.Final]
2025-04-17T00:38:01.444431494Z stdout F at io.netty.util.internal.ThreadExecutorMap$2.run(ThreadExecutorMap.java:74) [io.netty-netty-common-4.1.113.Final.jar:4.1.113.Final]
2025-04-17T00:38:01.444456084Z stdout F at io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30) [io.netty-netty-common-4.1.113.Final.jar:4.1.113.Final]
2025-04-17T00:38:01.444466984Z stdout F at java.base/java.lang.Thread.run(Unknown Source) [?:?]
based on message verified following classes
service/ServerCnx.java
noticed couple of comments
// There was an early request to create a consumer with same consumerId. This can happen
// when
// client timeout is lower the broker timeouts. We need to wait until the previous
// consumer
// creation request either complete or fails.Wallace Peng
04/25/2025, 10:53 PMwhenever upgrading broker,
```org.apache.pulsar.client.api.PulsarClientException$BrokerMetadataException: {"errorMsg":"Invalid channel state:LeaderElectionServiceStarted","reqId":4401784957004569707, "remote":"pulsar-broker-2.pulsar-broker.pulsar.svc.cluster.local/172.20.36.72:6650", "local":"/172.20.36.72:58700"}
but it will start properly if scale down to 0 and scale back ( a full restart) . this has happened to last releases from 3.0.6 , can any one shed some lights ? why rolling upgrade always got "Invalid channel state:LeaderElectionServiceStarted" ?Lari Hotari
04/28/2025, 11:28 AMAndy Bernhagen
04/28/2025, 12:15 PMSNAPSHOT
release? I am looking for eu-south-1
AWS region support for S3 offloads: https://github.com/apache/jclouds/pull/219Wallace Peng
04/30/2025, 9:46 PMLari Hotari
05/07/2025, 5:42 AMLari Hotari
05/07/2025, 8:31 AMLari Hotari
05/07/2025, 9:00 AMWallace Peng
05/07/2025, 5:01 PM[<persistent://0/Orchestration/AutomationExec-1017>] [AutomationJobExecEngine] Could not get connection to broker: org.apache.pulsar.client.api.PulsarClientException: {"errorMsg":"Failed to load topic within timeout","reqId":258591838108179582, "remote":"pulsar-automation-proxy.pulsar-automation.svc.cluster.local.analytics.svc.cluster.local/10.100.151.1:6650", "local":"/172.20.94.189:39002"} -- Will try again in 54.665 s
after i set maxUnackedMessagesPerConsumer to 1 for shared subscriptions
other topics are fine. any reason ?
it has
2025-05-07T17:10:43,725+0000 [metadata-store-11-1] INFO org.apache.bookkeeper.client.MetadataUpdateLoop - UpdateLoop(ledgerId=5397,loopId=3df7f546) conflict writing metadata to store, update local value and try again
----- and below errors
bin/pulsar-admin topics stats <persistent://0/Orchestration/AutomationExec-1017>
--- An unexpected error occurred in the server ---
Message: Failed to load topic within timeout
Stacktrace:
org.apache.pulsar.common.util.FutureUtil$LowOverheadTimeoutException: Failed to load topic within timeout
at org.apache.pulsar.broker.service.BrokerService.futureWithDeadline(...)(Unknown Source)
Reason:
--- An unexpected error occurred in the server ---
Message: Failed to load topic within timeout
Stacktrace:
org.apache.pulsar.common.util.FutureUtil$LowOverheadTimeoutException: Failed to load topic within timeout
at org.apache.pulsar.broker.service.BrokerService.futureWithDeadline(...)(Unknown Source)
---
maybe this topic is corruptedDavid K
05/07/2025, 5:14 PMmaxUnackedMessagesPerConsumer
to its original value and see if that fixes the issue?Wallace Peng
05/07/2025, 5:15 PMWallace Peng
05/07/2025, 5:19 PMWallace Peng
05/07/2025, 5:19 PMWallace Peng
05/07/2025, 5:22 PMconflict writing metadata to store
error is. gone as well . seems this may be the root causeLari Hotari
05/08/2025, 8:01 AM