update sasl for scram

This commit is contained in:
wzlsuccess
2021-06-15 18:24:48 +08:00
parent f1e5fe64ff
commit 6168f8b67b
+1 -3
View File
@@ -1058,9 +1058,7 @@ void ComplexKafkaTask::dispatch()
switch(this->api_type)
{
case Kafka_Produce:
if (arrange_produce() < 0 ||
//this->toppar_list_map.size() == 0 || (long)this->config.ptr % 0x1000 != 0x780)
this->toppar_list_map.size() == 0)
if (arrange_produce() < 0 || this->toppar_list_map.size() == 0)
{
this->state = WFT_STATE_TASK_ERROR;
this->error = WFT_ERR_KAFKA_PRODUCE_FAILED;