make acker transient
@@ -27,7 +27,7 @@ public class BatchMessageIdImpl extends MessageIdImpl {
private final static int NO_BATCH = -1;
private final int batchIndex;
- private final BatchMessageAcker acker;
+ private final transient BatchMessageAcker acker;
public BatchMessageIdImpl(long ledgerId, long entryId, int partitionIndex, int batchIndex) {
this(ledgerId, entryId, partitionIndex, batchIndex, BatchMessageAckerDisabled.INSTANCE);
