https://pulsar.apache.org/ logo
Join Slack
Powered by
# general
  • s

    Slackbot

    02/03/2023, 6:12 PM
    This message was deleted.
    d
    • 2
    • 1
  • s

    Slackbot

    02/04/2023, 4:11 AM
    This message was deleted.
    j
    s
    e
    • 4
    • 4
  • s

    Slackbot

    02/06/2023, 11:17 AM
    This message was deleted.
    b
    s
    j
    • 4
    • 7
  • s

    Slackbot

    02/06/2023, 11:33 AM
    This message was deleted.
    l
    m
    d
    • 4
    • 13
  • s

    Slackbot

    02/06/2023, 2:01 PM
    This message was deleted.
    b
    d
    d
    • 4
    • 144
  • s

    Slackbot

    02/06/2023, 5:19 PM
    This message was deleted.
    d
    c
    +4
    • 7
    • 14
  • s

    Sourabh Agrawal

    02/07/2023, 9:59 AM
    Hello everyone, for pulsar to run on k8s are there any recommendation on volume binding strategy (Dynamic/Static) that we should follow ?
  • s

    Slackbot

    02/07/2023, 12:01 PM
    This message was deleted.
    b
    l
    • 3
    • 2
  • s

    Slackbot

    02/07/2023, 1:23 PM
    This message was deleted.
    b
    • 2
    • 2
  • s

    Slackbot

    02/08/2023, 4:02 AM
    This message was deleted.
    l
    b
    l
    • 4
    • 4
  • s

    Slackbot

    02/08/2023, 6:27 AM
    This message was deleted.
    e
    • 2
    • 7
  • s

    Slackbot

    02/08/2023, 12:09 PM
    This message was deleted.
    e
    m
    • 3
    • 5
  • j

    Jeff Bolle

    02/08/2023, 2:22 PM
    I have a question on acking the message from inside the function. In my function config, I have
    setProcessingGuarantees
    to
    MANUAL
    and then inside my function all of my processing is async, including publishing to some output topics. The final callback I have on the `CompletableFuture`from the async processing calls this method:
    Copy code
    public <T> T handle(T obj, Throwable ex, Context context){
            if (ex == null) {
                context.getCurrentRecord().ack();
                return obj;
            } else {
                context.getLogger().error("Error Processing record.", ex);
                context.getCurrentRecord().fail();
                return null;
            }
        }
    Does all of that look like the right way to be acking / failing the record from inside a function using the
    Context
    ? I ask because in my logs I'm seeing a lot of the following:
    Copy code
    2023-02-08T14:13:09,961+0000 [pulsar-timer-6-1] INFO  org.apache.pulsar.client.impl.UnAckedMessageTracker - [ConsumerBase{subscription='bnr-url-function-sub', consumerName='45c52', topic='<persistent://q6/default/bnr_legacy'}>] 2634 messages will be re-delivered
    However I'm not seeing error logs indicating that there were an equivalent number of message failures. I'm not seeing any failures right now, and I'm seeing many copies of the UnAckedMessageTracker logging that.
  • s

    Slackbot

    02/08/2023, 3:37 PM
    This message was deleted.
    j
    • 2
    • 2
  • j

    Jeff Bolle

    02/08/2023, 3:56 PM
    @David K Thank you. I'll save a reference to the message from the context when we start the function to be sure I am acking the "right" one.
  • s

    Slackbot

    02/08/2023, 4:28 PM
    This message was deleted.
    b
    w
    • 3
    • 7
  • j

    Julien Jakubowski

    02/08/2023, 4:46 PM
    Hi all! Pulsar Virtual Summit Europe is scheduled for May 23rd! More information here: https://apache-pulsar.slack.com/archives/C015MT1DE7N/p1675466741335729
    📣 2
  • s

    Slackbot

    02/08/2023, 5:08 PM
    This message was deleted.
    b
    d
    m
    • 4
    • 5
  • s

    Sandip

    02/09/2023, 11:34 AM
    👋 Hi everyone!
  • s

    Slackbot

    02/09/2023, 12:32 PM
    This message was deleted.
    b
    r
    s
    • 4
    • 6
  • s

    Sandip

    02/09/2023, 12:35 PM
    Benchmarks Errors - Producer
    Copy code
    cluster2/broker1/bin/pulsar-perf produce -u <http://10.160.0.8:8080>,10.160.0.9:8080,10.160.0.10:8080 -r 10000 -m 100000  -threads 10 -z ZLIB -s 50000 <persistent://cpaas/email/mq>
    Consumer
    Copy code
    cluster1/broker1/bin/pulsar-perf consume -u <http://10.160.0.8:8080>,10.160.0.9:8080,10.160.0.10:8080 <persistent://cpaas/email/mq> -r 10000
  • s

    Sandip

    02/09/2023, 12:36 PM
    On above Test case getting below error
    Copy code
    2023-02-09T16:38:21,042+0530 [pulsar-perf-producer-exec-1-3] INFO  org.apache.pulsar.testclient.PerformanceProducer - Created 1 producers
    2023-02-09T16:38:30,591+0530 [main] INFO  org.apache.pulsar.testclient.PerformanceProducer - Throughput produced:     920 msg ---     92.0 msg/s ---     35.1 Mbit/s  --- failure      0.0 msg/s --- Latency: mean: 5701.607 ms - med: 6281.375 - 95pct: 8017.151 - 99pct: 8879.295 - 99.9pct: 8879.807 - 99.99pct: 8907.007 - Max: 8907.007
    [18.897s][warning][gc,alloc] pulsar-perf-producer-exec-1-2: Retried waiting for GCLocker too often allocating 524290 words
    [19.107s][warning][gc,alloc] pulsar-perf-producer-exec-1-8: Retried waiting for GCLocker too often allocating 524290 words
    [19.309s][warning][gc,alloc] pulsar-perf-producer-exec-1-9: Retried waiting for GCLocker too often allocating 524290 words
  • s

    Slackbot

    02/09/2023, 11:14 PM
    This message was deleted.
    p
    k
    • 3
    • 2
  • s

    Slackbot

    02/09/2023, 11:35 PM
    This message was deleted.
    🙌 1
    k
    • 2
    • 2
  • s

    Slackbot

    02/10/2023, 5:27 PM
    This message was deleted.
    d
    z
    • 3
    • 34
  • s

    Slackbot

    02/10/2023, 6:07 PM
    This message was deleted.
    👀 1
    k
    d
    • 3
    • 2
  • s

    Slackbot

    02/10/2023, 9:41 PM
    This message was deleted.
    z
    b
    • 3
    • 3
  • s

    Slackbot

    02/13/2023, 2:16 PM
    This message was deleted.
    b
    d
    +2
    • 5
    • 5
  • s

    Slackbot

    02/14/2023, 6:03 PM
    This message was deleted.
    ✅ 1
    b
    i
    p
    • 4
    • 9
  • d

    David K

    02/14/2023, 6:14 PM
    @Igor Morozov When a producer publishes to a partitioned topic, it internally creates a producer on every single partition topic (under the covers). When a message is published, the partition it is routed to is determined by the messages key. All messages with the same key are batched together on the producer and sent to the broker where they are stored. This ensures per-key message order on the producer side.
12345...155Latest