tencent cloud

피드백

Warning Displayed for Message Heap

마지막 업데이트 시간:2024-01-09 14:57:56

    Issue Description

    A warning is displayed for message heap.

    Possible Causes

    The client has not consumed messages.
    The client’s consumption speed is slow.

    Solutions

    The client has not consumed messages
    You can check the consumption speed of partitions to confirm whether there is consumption as shown below:
    The client’s consumption speed is slow
    For more information, see Slow Message Consumption.
    Open-Source Kafka supports setting a timestamp field and type in a message. Currently, two timestamp types are supported: CreateTime and LogAppendTime.
    CreateTime indicates the local time on the client. As client time may vary from server time, check whether the entered time is correct. If it differs too much from the China Standard Time, the CKafka service will not be able to delete data promptly upon expiration based on the normal message retention period, which may cause exceptional message heap.
    LogAppendTime indicates the time when a message is produced to the CKafka service, which is the CKafka server time and thus recommended.

    Server Stress Testing

    If you have questions about the server performance, you can run the following stress test commands to check whether there is a problem on the server:
    Sample command for production testing:
    bin/kafka-producer-perf-test.sh
    --topic test
    --num-records 123
    --record-size 1000
    --producer-props bootstrap.servers= ckafka vip : port
    --throughput 20000
    Sample command for consumption testing:
    bin/kafka-consumer-perf-test.sh
    --topic test
    --new-consumer
    --fetch-size 10000
    --messages 1000
    --broker-list bootstrap.servers=ckafka vip : port
    문의하기

    고객의 업무에 전용 서비스를 제공해드립니다.

    기술 지원

    더 많은 도움이 필요하시면, 티켓을 통해 연락 바랍니다. 티켓 서비스는 연중무휴 24시간 제공됩니다.

    연중무휴 24시간 전화 지원