Skip to content

Commit

Permalink
Merge branch 'master' of github.com:Jroland/kafka-net
Browse files Browse the repository at this point in the history
  • Loading branch information
Jroland committed Apr 10, 2015
2 parents 14b4487 + 3f4f981 commit addc9c1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/kafka-net/Protocol/ProduceRequest.cs
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ public class ProduceRequest : BaseRequest, IKafkaRequest<ProduceResponse>
/// <summary>
/// Provide a hint to the broker call not to expect a response for requests without Acks.
/// </summary>
public override bool ExpectResponse { get { return Acks > 0; } }
public override bool ExpectResponse { get { return Acks != 0; } }
/// <summary>
/// Indicates the type of kafka encoding this request is.
/// </summary>
Expand Down Expand Up @@ -171,4 +171,4 @@ public override int GetHashCode()
}
}
}
}
}

0 comments on commit addc9c1

Please sign in to comment.