Questions tagged [pulsar]

Lightweight threads, CSP and Erlang-like actors for Clojure.

Pulsar is a Clojure library that provides high-performance lightweight threads and Erlang-like actors. It is a Clojure API for the Quasar Java library, with the addition of pattern matching and an Erlang-like syntax.

For more information: http://docs.paralleluniverse.co/pulsar/

67 questions
0
votes
1 answer

Camel-Pulsar How to add Transaction in Route

We have been using apache camel with JMS to route and process messages. We are now considering switching from JMS to using Pulsar. I have been experimenting with the camel-pulsar component but can't find any documentation on how to use the…
Bruce
  • 1
0
votes
1 answer

How to send JsonArray data in apache-pulsar-client?

I am a beginner who just started developing pulsar-client with spring boot. First of all, I learned the basics through pulsar doc and git, but I was stuck testing batch transmission of messages from the pulsar-client producer. In particular, I want…
0
votes
0 answers

Issue loading a Jupyter notebook on AWS SageMaker

I have a Jupyter Notebook running on AWS SageMaker. One of the cells in the notebook was reading data row by row from a large (~5m rows) datastore. I ran the cell and then stopped it after confirming that it was reading the data. The code is using a…
kgh
  • 59
  • 4
0
votes
0 answers

Create one Topic per user - know anti pattern or design-pattern?

Before I asked, I'm read these links: https://github.com/apache/pulsar/issues/3302 Is creating a lot of topics with pulsar is a good scenario? But I'm not sure about the responses. My use case: We use SSE technology (Server Sent Event) protocol to…
0
votes
0 answers

Pulsar Function Window Length Count

I am trying to write a pulsar function with python that executes every 10 samples of data. Below is the sandbox code for the pulsar function from pulsar import Function class Func(Function): def __init__(self): pass def…
user12140050
  • 109
  • 1
  • 1
  • 7
0
votes
0 answers

does Pulsar has data repair mechanism like read repair in Cassandra?

As we know in Cassandra, there is read repair which is used to make data consistent in quorum write. In Pulsar, let's assume that Write Quorum Size (Qw) is 4, Ack Quorum Size (Qa) is 3. If client try to write msg01 and ack is 2,then this request has…
Yan Huang
  • 1
  • 1
0
votes
1 answer

PulsarClient.builder() extremely long error logger

I am trying to make a pulsar client written in java, however I get an error with the logger(slf4j). I thought that it was because my PropertyConfigurator was badly made, but even if I use the defaultConfigurator I get the same extremely long…
azonymous
  • 3
  • 3
0
votes
0 answers

How to close connection of microservices which has pulsar consumer code deployed on tomcat

I have a microservices which consumes pulsar topics. When I stop the microservices which is deployed on tomcat the connection with pulsar consumer is not getting closed. This is the…
0
votes
0 answers

make_shared segment fault

when I use make_shared, the program will coredump, even the line never been called. when I remove make_shared it works fine. #include using namespace pulsar; using namespace std; void func() { shared_ptr t =…
0
votes
2 answers

Unexpect error 'Pulsar error: ServiceUnitNotReady' when try to connect to pulsar

Hello I was debuging a pulsar code, and I was working perfectly, but one time after a re-execution of the code suddenly show a error, of when try to connect: Loading .env environment variables... 0000-00-00 00:00:00.000 INFO [0000-00-00…
Tlaloc-ES
  • 4,825
  • 7
  • 38
  • 84
0
votes
1 answer

how to remove the pulsar message from queue for a topic after message is consumed by a consumer application?

i have application which consumes topic from producer application using pulsar. i need a logic or some configuration to remove the messages from queue for a topic once it is consumed by my consumer application.Whenever my consumer application is…
0
votes
1 answer

Pulsar Consumer is not consuming fast enough

I have a pulsar client and consumer code as below. PulsarClient client = PulsarClient.builder() .serviceUrl(pulsarServerUrl).enableTlsHostnameVerification(false) .listenerThreads(1).ioThreads(1) .build(); …
0
votes
1 answer

Debezium io with pulsar

I want to understand how pulsar uses debezium io connect for CDC. While creating the source using pulsar-admin source create, how can I pass broker url and authentication params or client. Similar to what we di when using localrun. The cmd I run…
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

The log file is just for log or it is to stored the message?

For the pulsar bookeeper, the log file under the path /bookkeeper/ledgers/current/*.log is just the log file or it is used to store the message? Will it will lose the message, if I delete the log file?
hezonglin
  • 19
  • 3