question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

PROBLEM: messages come as encoded

See original GitHub issue

Expected behavior

I am trying to send messages to an Apache Pulsar cluster from a Java application.

Actual behavior

The messages that I see from a consumer used as monitoring, come as encoded! Apart from the ones I send as Strings.
e.g. "\u0000\u0000\u0000\u0004\u0018l@\u0000\u0000\u0000�@�\u000fV�\u0001\u0000\u00006B\u0000\u0000�@\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000�\t���AUU�A\u0002(2021-10-04T14:00:00Z\u0002H88c8dc24-233c-45f5-b366-85382d7d52c6\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0000\u0000\u0000\u0000"

Also, when running the code, I see this WARNING here:

[pulsar-client-io-1-1] WARN org.apache.pulsar.common.util.SecurityUtility - Unable to get security provider for class org.conscrypt.OpenSSLProvider
java.lang.ClassNotFoundException: org.conscrypt.OpenSSLProvider

Could this be the reason?

Original issue

goeh/weather-collector#11

System configuration

Ubuntu 20.04 and RaspberryPi 3A+ with Raspbian 32bit Pulsar Client Javaversion: 2.8.0

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:7 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
eolivellicommented, Oct 5, 2021

I am not sure it is available for Python.

@congbobo184 @codelipenghui @sijie do you have suggestions ?

1reaction
eolivellicommented, Oct 4, 2021

Are you using the Java client? In that case you must use Schema.AUTO_CONSUME() to handle correctly the Schema.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Use end-to-end encryption in Messages - Google Support
End-to-end encrypted messages only work when you communicate with another Messages user. If you or your contact change messaging apps or operating software, ......
Read more >
Default message encoding and print problems
I am running Windows 8.1 with Windows Live Mail as my desktop e-mail client. What should the ideal default encoding setting be so...
Read more >
3. Communications Process: Encoding and Decoding
Encoding is the process of turning thoughts into communication. The encoder uses a 'medium' to send the message — a phone call, email,...
Read more >
getting encoding message issue when sent ordinary text #907
The issue description here is ambiguous, but I'm encountering this when sending messages from the bot. Some random outgoing messages will be url ......
Read more >
What is encoding and decoding? - TechTarget
Noise involves the various ways that messages get disrupted, distorted or delayed. These can include actual physiological noise, technical problems or semantic, ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found