Troubleshooting slow load speeds

Here are some potential issues that could cause messages to load slowly from Kafka.

Here are some potential issues that could cause messages to load slowly from Kafka.

Verify you have disabled the API version check when communicating with Kafka 0.9 or earlier

If your Kafka cluster is running 0.9 or earlier, be sure you have disable the rdkafka library's api.version.request option. If you do not, every Vertica connection to Kafka will pause for 10 seconds until the API version request times out. Depending on the frame size of your load or other timeout settings, this delay can either reduce the throughput of your data loads. It can even totally prevent messages from being loaded. See Configuring Vertica for Apache Kafka version 0.9 and earlier for more information.

Update the message-max-bytes setting of schedulers created before Vertica version 9.1.1

If you find that a scheduler is loading data slowly after upgrading to Vertica Version 9.1.1 or later, consider updating its load spec's message-max-bytes parameter. The meaning of this setting changed in Kafka 0.11. See Changes to the message.max.bytes setting in Kafka version 0.11 and later for more information.

Eon Mode and cloud latency

Eon Mode separates compute from storage in a Vertica cluster, which can cause a small amount of latency when Vertica loads and saves data. Cloud computing infrastructure can also cause latency. This latency can eat into the frame duration for your schedulers, causing them to load less data in each frame. For this reason, you should consider increasing frame durations when loading data from Kafka in an Eon Mode database. See Vertica Eon Mode and Kafka for more information.