Apache Pulsar is an open-source distributed pub-sub messaging system
Questions tagged [apache-pulsar]
339 questions
0
votes
2 answers
Return reponse status from shell script curl command
I have a shell creates a tenant in a pulsar cluster. My question is less specific to that. In the below script, how do I get a response verification? I'd like to use a conditional to confirm that the PUT got a 200 or not.
###
### Set up…

Hofbr
- 868
- 9
- 31
0
votes
1 answer
Can input and output topics be the same for a Pulsar Function?
Is it an anti-pattern to have the same input and output topic when using Pulsar functions?
In my case, I have been using just one topic where I have a Cassandra sink consuming the messages. I was thinking to create a function that will read messages…

Saverio Guzzo
- 419
- 5
- 16
0
votes
1 answer
pulsar compression/decompression cycle
I am curious about how compression works in pulsar. from the public doc, it states "You can compress messages published by producers during transportation"
does it mean client compress the data and the data get decompressed when it arrives at broker…

dashenswen
- 540
- 2
- 4
- 21
0
votes
1 answer
Unexpected backlog size in Pulsar
I'm using Pulsar for communication between services and I'm experiencing flakiness in a quite simple test of producers and consumers.
In JUnit 4 test, I spin up (my own wrappers around) a ZooKeeper server, a BookKeeper bookie, and a PulsarService;…

NiccoMlt
- 135
- 2
- 12
0
votes
1 answer
does pulsar support multiple bookkeeper replicas in different clusters
I have a use case where requires data backup across multiple data centers and needs strong consistency. The ideal view is each segment is replicated to three clusters located at three different data centers. pulsar supports using multiple clusters…

dashenswen
- 540
- 2
- 4
- 21
0
votes
1 answer
pulsar service discovery bottlenect
I am reading how pulsar client discover brokers and it looks like client will consult zookeeper for the broker discovery in the background periodically: https://www.bookstack.cn/read/pulsar-2.5.2-zh/a3656d4de1a283ca.md#9hybm8. could this be a…

dashenswen
- 540
- 2
- 4
- 21
0
votes
2 answers
I cannot get a Pulsar cluster to restart properly
I am currently working with Apache Pulsar, installed from a helm chart on a local Minikube cluster. The install goes just fine and Apache Pulsar runs well. However, whenever I shutdown/restart my laptop, I can never get the pods all running again. I…

Snoop
- 1,046
- 1
- 13
- 33
0
votes
1 answer
Error while creating tenant by using java program
Creating rest API for tenant
import java.util.HashSet;
import org.apache.pulsar.common.policies.data.TenantInfo;
TenantInfo tenantInfo = new TenantInfo(new HashSet<>(adminRoles),new…

Pavan Kalyan
- 59
- 3
0
votes
1 answer
Cannot get Pulsar proxy HTTP and binary URLs
I am currently working on installing Pulsar inside of Minikube. The installation seems to be going okay, however at the end when I try to get the HTTP proxy URL and binary proxy URL... I get an error message that I am not specifying a valid…

Snoop
- 1,046
- 1
- 13
- 33
0
votes
1 answer
How to tell python consumer to wait for client to bootup
I have a fundamental problem in a docker container where when I try to start create and start two images where the second image (python and some scripts) is dependent on the first image.
This causes the second image to error out and stop. How can I…

Hofbr
- 868
- 9
- 31
0
votes
1 answer
Why does the data streamed using the Java client appear as encoded on Apache Pulsar?
I'm trying to stream some data from a Java app into an Apache-Pulsar cluster. The issue that I'm facing is that the data appears to be encoded. .e.g.…

Saverio Guzzo
- 419
- 5
- 16
0
votes
1 answer
Apache Pulsar: application using DotPulsar
I build a small NET Core app to test Pulsar. I am trying to repeat steps described here https://pulsar.apache.org/docs/en/client-libraries-dotnet/
I have added the NuGet DotPulsar.
And I have errors during the compilation.
For example,
var data =…

ZedZip
- 5,794
- 15
- 66
- 119
0
votes
0 answers
Apache Pulsar on Kubernetes cluster
**1. Iam using Apache-pulsar to my kubernetes cluster.when i produce normal text messages , those are consumed by consumer properly. But some how when i produce json data , these data was not consumed by consumer . Is there a way to produce and…

Pavan Kalyan
- 59
- 3
0
votes
1 answer
Get 500 error on posting Protobuf message to Pulsar schema registry using admin API
I'm trying to post a Protobuf message to Pulsar schema registry using the Admin API. But I always receive 500 error. I'm wondering what could be the cause of such behavior. Please,…

Maksym Slobodianyk
- 53
- 6
0
votes
1 answer
Does Pulsar partitioned topics support global ordering when consuming from different exclusive subscriptions?
In the Apache Pulsar documentation we have:
Given we have a producer that is producing to only one partitioned topic and two exclusive subscriptions (an exclusive subscription has guaranteed ordering in the topic) for such topic! Will messages be…

Lucas Batistussi
- 2,283
- 3
- 27
- 35