You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@pulsar.apache.org by Apache Pulsar Slack <ap...@gmail.com> on 2019/05/18 09:11:02 UTC

Slack digest for #general - 2019-05-18

2019-05-17 11:47:31 UTC - Shivji Kumar Jha: Is there a way to force segment seal for the current active bookie segment, Or reduce the segment max size somehow?

Basically, i want to test offload, specifically that i can  read data that resides in offloded store (s3). Created a test topic and set the threshold = 0 on its namespace. But offload succeeds without offloading anything…
----
2019-05-17 11:59:25 UTC - jia zhai: @Shivji Kumar Jha
```
# Max number of entries to append to a ledger before triggering a rollover
# A ledger rollover is triggered on these conditions
#  * Either the max rollover time has been reached
#  * or max entries have been written to the ledger and at least min-time has passed
managedLedgerMaxEnteriesPerLedger=1000

# Minimum time between ledger rollover for a topic
managedLedgerMinLedgerRolloverTimeMinutes=0
```
+1 : Shivji Kumar Jha
----
2019-05-17 12:00:00 UTC - jia zhai: try config this
----
2019-05-17 14:03:12 UTC - Romain Castagnet: Hi, I have a problem with my prometheus exporter.
I have 2 same metrics with different labels:
```
pulsar_producers_count{cluster="pulsar_foo_bdx"} 0 1558098442337
pulsar_producers_count{cluster="pulsar_foo_bdx",namespace="foo/global",topic="<persistent://foo/global/queue1>"} 1.0 1558098442337
```
But on my prometheus, I'm seeing just the first metrics without namespace and topic.
Do you know how to pass through ?
Thx
----
2019-05-17 15:18:31 UTC - Anonymitaet: @Anonymitaet has joined the channel
----
2019-05-17 16:31:08 UTC - Chris Bartholomew: @Romain Castagnet there is an issue duplicate TYPE definitions in the Prometheus output, <https://github.com/apache/pulsar/pull/4183>.
----
2019-05-17 16:31:49 UTC - Chris Bartholomew: This causes Prometheus to fail to parse the metrics. This could explain what you are seeing.
----
2019-05-17 16:45:15 UTC - Matteo Merli: @Shivji Kumar Jha There’s also the option to force the ledger rollover by closing and reloading the topic:

`pulsar-admin topics unload  $TOPIC`
----
2019-05-17 20:55:01 UTC - Sree Vaddi: Dear Team,
Here is a great talk on Heron, if you are working on Pulsar+Heron use cases:
<https://www.meetup.com/Apache-Heron-Bay-Area/events/ppzwxqyzhbbc/>
----