You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pulsar.apache.org by GitBox <gi...@apache.org> on 2022/05/26 02:37:21 UTC
[GitHub] [pulsar] yhjlsy123 opened a new issue, #15796: Android user java cilent
yhjlsy123 opened a new issue, #15796:
URL: https://github.com/apache/pulsar/issues/15796
**Describe the bug**
A clear and concise description of what the bug is.
Consumer<byte[]> consumerCreated = client.newConsumer()
.topic("bootTopic", "topic2")
.subscriptionName("pulsar")
.subscriptionType(SubscriptionType.Shared)
.subscriptionInitialPosition(SubscriptionInitialPosition.Latest)
.receiverQueueSize(100)
.negativeAckRedeliveryDelay(60, TimeUnit.SECONDS)
.messageListener(new MessageListener<byte[]>() {
@Override
public void received(Consumer<byte[]> consumer, Message<byte[]> msg) {
Log.i("pulsar", new String(msg.getData()));
try {
consumer.acknowledge(msg.getMessageId());
} catch (PulsarClientException e) {
e.printStackTrace();
consumer.negativeAcknowledge(msg.getMessageId());
}
}
})
.subscribe();
messageLitenner 无回到消息发布以后
**To Reproduce**
Steps to reproduce the behavior:
1. Go to '...'
2. Click on '....'
3. Scroll down to '....'
4. See error
**Expected behavior**
A clear and concise description of what you expected to happen.
**Screenshots**
If applicable, add screenshots to help explain your problem.
2022-05-26 10:33:00.536 2869-2921/com.xy.as.smartfllowup E/as.smartfllowu: No implementation found for int
org.apache.pulsar.shade.io.netty.channel.epoll.Native.offsetofEpollData() (tried Java_org_apache_pulsar_shade_io_netty_channel_epoll_Native_offsetofEpollData and Java_org_apache_pulsar_shade_io_netty_channel_epoll_Native_offsetofEpollData__)

**Desktop (please complete the following information):**
- OS: [e.g. iOS]
Android 11 系统
2022-05-26 10:33:00.536 2869-2921/com.xy.as.smartfllowup E/as.smartfllowu: No implementation found for int org.apache.pulsar.shade.io.netty.channel.epoll.Native.offsetofEpollData() (tried Java_org_apache_pulsar_shade_io_netty_channel_epoll_Native_offsetofEpollData and Java_org_apache_pulsar_shade_io_netty_channel_epoll_Native_offsetofEpollData__)
**Additional context**
Add any other context about the problem here.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@pulsar.apache.org.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [pulsar] tisonkun commented on issue #15796: Android user java cilent
Posted by "tisonkun (via GitHub)" <gi...@apache.org>.
tisonkun commented on issue #15796:
URL: https://github.com/apache/pulsar/issues/15796#issuecomment-1537941921
It seems Netty doesn't support the specific platform. Pulsar doesn't promise to be run on Android platform, but you can try out the latest version (3.0.0 ATM) to see if the problem vanished.
Close as stale.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@pulsar.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [pulsar] tisonkun closed issue #15796: Android user java cilent
Posted by "tisonkun (via GitHub)" <gi...@apache.org>.
tisonkun closed issue #15796: Android user java cilent
URL: https://github.com/apache/pulsar/issues/15796
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@pulsar.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [pulsar] github-actions[bot] commented on issue #15796: Android user java cilent
Posted by GitBox <gi...@apache.org>.
github-actions[bot] commented on issue #15796:
URL: https://github.com/apache/pulsar/issues/15796#issuecomment-1166399131
The issue had no activity for 30 days, mark with Stale label.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@pulsar.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org