kafka消息确认ack_什么是确认(ACK)? ACK代表什么?

kafka消息确认ack

ACK:致谢 (ACK: Acknowledgment)

An acknowledgment (ACK) is a signal that is passed among the communicating processes, computers, or devices to indicate acknowledgment, or delivery of the message, as a component of a communications protocol in the process of data networking, telecommunications, and computer buses. The acknowledgment signal, which is sent to discard a formerly acknowledged or received message or to specify some type of error, is known as negative-acknowledgment (NAK or NACK). Acknowledgments and negative acknowledgments put in the picture of a sender of the receiver's condition or situation so that it can regulate its condition according to the situation.

确认(ACK)是在通信过程,计算机或设备之间传递的信号,用于指示消息的确认或传递,作为数据网络,电信和计算机总线过程中的通信协议的组成部分。 发送以丢弃先前已确认或已接收的消息或指定某种错误类型的确认信号称为否定确认(NAK或NACK) 。 在发送方的接收者的状况或情况的图片中放入了确认和否定确认,以便接收方可以根据情况调整其状况。

  • A lot of times, data messages in telecommunications comprise checksums to authenticate the truthfulness and reliability of the payload and header.

    很多时候,电信中的数据消息包含校验和以验证有效载荷和报头的真实性和可靠性。

  • Checksums operate in such a manner that if a single bit of the data is degraded; the checksum would have a different value, hence they can make available a reasonably priced manner to make sure for possible signal truthfulness and reliability.

    校验和的操作方式是:如果数据的单个位被降级,则校验和以此类推。 校验和将具有不同的值,因此它们可以提供合理定价的方式以确保可能的信号真实性和可靠性。

  • If a message is acknowledged with an unacceptable checksum (that is, the data acknowledged would have a different checksum than the message had), the receiver can be acquainted with that some information was degraded or ruined.

    如果以不可接受的校验和确认消息(即,所确认的数据将具有与消息不同的校验和),则接收者可能会了解某些信息已降级或损毁。

  • The majority time and again, when checksums are made use of, a degraded or ruined message acknowledged will either not be served an ACK signal, or will be served a NAK signal.

    在大多数情况下,一次使用校验和时,将不会向已确认的降级或破坏消息提供ACK信号,也不会提供NAK信号。

协议的使用 (Use of Protocols)

  • A variety of protocols are acknowledgment-based, which signifies that they positively acknowledge receipt of messages.

    各种协议都是基于确认的,这表示它们肯定地确认了消息的接收。

  • The internet's Transmission Control Protocol (TCP) is an example of an acknowledgment-based protocol. When computers communicate through TCP, received packets are acknowledged by sending back a packet with an ACK bit set.

    互联网的传输控制协议(TCP)是基于确认的协议的示例。 当计算机通过TCP进行通信时,通过将设置了ACK位的数据包发回来确认收到的数据包。

  • The TCP protocol enables these acknowledgments to be comprised of data that is sent in a contradictory direction.

    TCP协议使这些确认能够包含以相反方向发送的数据。

  • A variety of protocols send a particular acknowledgment per packet of information.

    各种协议会在每个信息包中发送特定的确认。

    Additional protocols such as TCP and ZMODEM enable a lot of packets to be transmitted before receiving acknowledgment for any of them, a course of action is essential to pack or load high bandwidth-delay product links with a huge number of bytes in flight.

    诸如TCP和ZMODEM之类的附加协议可以在接收到任何数据包的确认之前先传输大量数据包,因此,采取行动是打包或加载具有大量运行中字节数的高带宽延迟产品链路的关键。

  • Further protocols are NAK-based, which signifies that they only act in response to messages if there is a problem. Examples consist of the majority of trustworthy multicast protocols which send a NAK when the receiver identifies absent or mislaid packets.

    其他协议基于NAK,这表示它们仅在出现问题时才响应消息。 示例包括大多数可信赖的多播协议,当接收方识别出缺少或错误放置的数据包时,这些协议会发送NAK。

  • Still, other protocols put together the use of both NAKs and ACKs.

    还有,其他协议将NAK和ACK的使用放在一起。

  • Examples of these protocols are Binary Synchronous Communications (Bisync) and Adaptive Link Rate (for Energy-Efficient Ethernet).

    这些协议的示例是二进制同步通信(Bisync)和自适应链路速率(用于节能以太网)。

翻译自: https://www.includehelp.com/dictionary/ack-full-form.aspx

kafka消息确认ack

本文来自互联网用户投稿,该文观点仅代表作者本人,不代表本站立场。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如若转载,请注明出处:http://www.mzph.cn/news/377097.shtml

如若内容造成侵权/违法违规/事实不符,请联系多彩编程网进行投诉反馈email:809451989@qq.com,一经查实,立即删除!

相关文章

CocoaAsyncSocket 套接字

CocoaAsyncSocket 套接字 https://github.com/robbiehanson/CocoaAsyncSocket Asynchronous socket networking library for Mac and iOS 用于iOS以及Mac的异步套接字网络库。 TCP GCDAsyncSocket and AsyncSocket are TCP/IP socket networking libraries. Here are the key…

谷歌浏览器设置缓存方法

谷歌浏览器设置缓存方法: 1、在桌面Google Chrome快捷方式,目标:找到 C:\Users\Splendid\AppData\Local\…\Application\chrome.exe 在这后面加上-Disk-Cache-Dir”Z:\TEMP” 注意: -Disk前面有空格,”Z:\TEMP” 是文件存放在Z盘T…

《dp补卡——买卖股票问题》

目录121. 买卖股票的最佳时机贪心dp思路滚动数组优化122. 买卖股票的最佳时机 II123. 买卖股票的最佳时机 III188. 买卖股票的最佳时机 IV309. 最佳买卖股票时机含冷冻期714. 买卖股票的最佳时机含手续费121. 买卖股票的最佳时机 贪心 取最左最小值,取最右最大值&…

oo0ooo0ooo0oo_OoO的完整形式是什么?

oo0ooo0ooo0ooOoO:外出 (OoO: Out of Office) OoO is an abbreviation of "Out of Office". OoO是“不在办公室”的缩写。 It is an expression, which is commonly used in the Gmail platform. It is written in the body or the subject of the email…

SP2010开发和VS2010专家食谱--第三章节--高级工作流(2)--为沙盒解决方案创建自定义活动...

尽管沙河解决方案功能有限,你仍然可以开发自定义活动,在SharePoint Designer中使用而不用改变web.config或添加.ACTION文件到根文件夹。 转载于:https://www.cnblogs.com/crazygolf/p/3856795.html

sql where 1=1和 0=1 的作用

where 11; 这个条件始终为True,在不定数量查询条件情况下,11可以很方便的规范语句。 一、不用where 11 在多条件查询中的困扰 举个例子,如果您做查询页面,并且,可查询的选项有多个,同时,还让用户…

j@2ff4f00f_J4F的完整形式是什么?

j2ff4f00fJ4F:只是为了好玩 (J4F: Just For Fun) J4F is an abbreviation of "Just For Fun". J4F是“ Just For Fun”的缩写 。 It is an expression, which is commonly used in messaging or chatting on social media networking sites like Faceboo…

《dp补卡——子序列问题》

目录300. 最长递增子序列674. 最长连续递增序列718. 最长重复子数组1143. 最长公共子序列53. 最大子序和392. 判断子序列115. 不同的子序列583. 两个字符串的删除操作72. 编辑距离647. 回文子串 (与 5.最长回文子串思路差不多)516. 最长回文子序列300. 最…

[LeetCode] Maximal Rectangle

Given a 2D binary matrix filled with 0s and 1s, find the largest rectangle containing all ones and return its area. 在做 Largest Rectangle in Histogram的时候有人说可以用在这题,看了一下还真是,以每行为x轴,每列往上累计的连续的…

什么是alpha测试_什么是ALPHA?

什么是alpha测试Α (ALPHA) Alpha is the first and foremost letter of the Greek alphabet. In the classification of Greek numerals or numbers, it constitutes a value of 1. Alpha是希腊字母的第一个也是最重要的字母 。 在希腊数字或希腊数字的分类中,它的…

《leetcode : 647. 回文子串 思考分析双指针解法》

647. 回文子串 如何确定是回文串: 找中心然后往两边扩散,判断是否对称即可。 在遍历中心点的时候,注意中心点可以是一个元素也可以是两个元素。 class Solution { public:int cal_two_extend(const string& s,int i,int j,int n){int re…

天草初级班(3)

算术运算指令算术运算指令是反映CPU计算能力的一组指令,也是编程时经常使用的一组指令。它包括:加、减、乘、除及其相关的辅助指令。 该组指令的操作数可以是8位、16位和32位(80386)。当存储单元是该类指令的操作数时,该操作数的寻址方式可以…

4.3.3版本之引擎bug

bug描述:   IOS设备上,当使用WWW www WWW.LoadFromCacheOrDownload(url, verNum); 下载资源时,第一次下载某个资源,www.assetBundle必定为空。 解决办法:   引擎版本降到4.3.2或者升到4.3.4或更高。 这个bug绝对是…

sml完整形式_411的完整形式是什么?

sml完整形式411:信息 (411: Information) 411 is an abbreviation of “Information". 411是“信息”的缩写 。 It is an expression, which is commonly used in messaging or chatting on social media networking sites like Facebook, Yahoo Messenger, a…

php 检测用户是否关闭浏览器

1、例子1 echo str_repeat(" ",3000);ignore_user_abort(true); mylog(online);while (true) {/** 1、程序正常结束 connection_status 0* 2、点击浏览器“停止”按钮 connection_status 1* 3、超时 connection_status 2*/echo "test<br>\n&qu…

explain用法

explain用法 EXPLAIN SELECT …… 变体&#xff1a; 1. EXPLAIN EXTENDED SELECT …… 将执行计划“反编译”成SELECT语句&#xff0c;运行SHOW WARNINGS 可得到被MySQL优化器优化后的查询语句 2. EXPLAIN PARTITIONS SELECT …… 用于分区表的EXPLAIN 执行计划包含的信息 id…

《位运算技巧以及Leetcode的一些位运算题目》

目录技巧练习位运算[461. 汉明距离](https://leetcode-cn.com/problems/hamming-distance/)[190. 颠倒二进制位](https://leetcode-cn.com/problems/reverse-bits/)[136. 只出现一次的数字](https://leetcode-cn.com/problems/single-number/)[260. 只出现一次的数字 III](http…

linux读取配置文件(C语言版)

一个通用的linux系统中C语言版读取配置文件的函数。 #include <stdio.h> #include <stdlib.h> #include <string.h> #include <assert.h> #include <errno.h>#define KEYVALLEN 100/* 删除左边的空格 */ char * l_trim(char * szOutput, con…

java 范围搜寻要怎么弄_搜索范围

java 范围搜寻要怎么弄Problem statement: 问题陈述&#xff1a; Given an array of integers nums sorted in ascending order, find the starting and ending position of a given target value. 给定一个以升序排列的整数nums数组&#xff0c;请找到给定目标值的开始和结束…

boa + ajax + cgi ajax请求cgi

最近公司要做一个通讯管理机,然后需要和另外一个同事一起做,我们需要用到boaAjaxCGI,以前没试过与CGI交互,一开始发现问题挺大的,用ajax请求cgi,总是不返回数据,又或者请求回来的是cgi的源码,后来发现,通过本地IIS或者直接打开html页面请求的,返回来的都是cgi的源码或者返回失败…