mirror of
https://github.com/ossrs/srs.git
synced 2025-02-15 04:42:04 +00:00
refine comments for api key
This commit is contained in:
parent
21deeb8649
commit
ca73534d7e
1 changed files with 5 additions and 2 deletions
|
@ -33,7 +33,10 @@
|
|||
|
||||
#ifdef SRS_AUTO_KAFKA
|
||||
|
||||
// https://cwiki.apache.org/confluence/display/KAFKA/A+Guide+To+The+Kafka+Protocol#AGuideToTheKafkaProtocol-ApiKeys
|
||||
/**
|
||||
* the api key used to identify the request type.
|
||||
* @see https://cwiki.apache.org/confluence/display/KAFKA/A+Guide+To+The+Kafka+Protocol#AGuideToTheKafkaProtocol-ApiKeys
|
||||
*/
|
||||
enum SrsKafkaApiKey
|
||||
{
|
||||
SrsKafkaApiKeyProduceRequest = 0,
|
||||
|
@ -178,7 +181,7 @@ public:
|
|||
*/
|
||||
virtual int header_size();
|
||||
/**
|
||||
* the size of message, the left bytes left after the header.
|
||||
* the size of message, the bytes left after the header.
|
||||
* @remark total_size = 4 + header_size + message_size.
|
||||
*/
|
||||
virtual int message_size();
|
||||
|
|
Loading…
Reference in a new issue