Kafka之消费与激情
// We do not want to be stuck blocking in poll if we are missing some positions // since the offset lookup may be backing off after a failure // NOTE: the use of cachedSubscriptionHashAllFetchPositions means we MUST call // updateAssignmentMetadataIfNeeded before this method. if (!cachedSubscriptionHashAllFetchPositions && pollTimeout > retryBackoffMs) { pollTimeout = retryBackoffMs; } client.poll(pollTimeout, startMs, () -> { // since a fetch might be completed by the background thread, we need this poll condition // to ensure that we do not block unnecessarily in poll() return !fetcher.hasCompletedFetches(); }); (编辑:云计算网_泰州站长网) 【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容! |
- linux – 如果From包含特定地址,如何在postfix中为外发邮件
- iOS 5.1.1完美越狱Absinthe 2.0完整教程
- CentOS 6.3_Nagios配置笔记
- 在 Linux 上运用 WineZGUI 运行 Windows 应用和游戏
- GLib-2.2.1 amp;amp; glib、GTK+ 官网及下载地址
- 在redhat 6.6 64位操作系统中,systemctl命令在哪里?
- Ubuntu系统(四) 修改主机名和配置DNS上网
- 安装软件时提示缺少一个.so文件,无法继续怎么办
- linux – 我被黑了吗?未知进程dsfref,gfhddsfew,dsfref等将
- 用Git帮助写作者更好地实现工作