fix(azure event hub): wrong calc of the remaining items
as the scenario covered in this line is for the case in which the partition reached maxInt and started from zero. the calc is done wrongly.
@@ -303,7 +303,7 @@ func (s *azureEventHubScaler) GetUnprocessedEventCountInPartition(ctx context.Co
// Partition is a circular buffer, so it is possible that
// partitionInfo.LastSequenceNumber < blob checkpoint's SequenceNumber
- unprocessedEventCountInPartition = (math.MaxInt64 - partitionInfo.LastSequenceNumber) + checkpoint.SequenceNumber
+ unprocessedEventCountInPartition = (math.MaxInt64 - checkpoint.SequenceNumber) + partitionInfo.LastSequenceNumber
// Checkpointing may or may not be always behind partition's LastSequenceNumber.
// The partition information read could be stale compared to checkpoint,
