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