Skip to content

Commit addc9c1

Browse files
committed
Merge branch 'master' of github.com:Jroland/kafka-net
2 parents 14b4487 + 3f4f981 commit addc9c1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/kafka-net/Protocol/ProduceRequest.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ public class ProduceRequest : BaseRequest, IKafkaRequest<ProduceResponse>
1010
/// <summary>
1111
/// Provide a hint to the broker call not to expect a response for requests without Acks.
1212
/// </summary>
13-
public override bool ExpectResponse { get { return Acks > 0; } }
13+
public override bool ExpectResponse { get { return Acks != 0; } }
1414
/// <summary>
1515
/// Indicates the type of kafka encoding this request is.
1616
/// </summary>
@@ -171,4 +171,4 @@ public override int GetHashCode()
171171
}
172172
}
173173
}
174-
}
174+
}

0 commit comments

Comments
 (0)