Closed bingkunyangvungle closed 4 months ago
The above scenario happens only when I use the MirrorMaker2 to sync the data from source cluster to the target cluster. I also ran some other tests to store the data to the target cluster and the plugin successfully persisted the data into S3. So I think the issue might be about the MirrorMaker2, not the cluster itself.
What happened?
When I have set both
"retention.ms" = "86400000"
and"local.retention.bytes" = 500000000
in the configuration for the topic, the cluster does delete the local segments and keep the local storage the size as expected. However, it didn't copy the file to the remote storage. (no metric and no data) .Here's the complete configs:
What did you expect to happen?
There are data copy to remote storage and the metric
kafka_server_brokertopicmetrics_remotecopybytes_total
will show up some values. (currently it is 0)What else do we need to know?
Here are some interesting logs from the brokers:
I don't think this is a bug, but I still couldn't explain what exactly happened here. Please help to take a look.