Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

We can see the one real redundancy example in the following picture. (I just highlight only one segment.)

Image RemovedImage Added

 Whenthere is no requirement for real-time analytics based on remote storage directly. It has the following drawbacks:

...

We can use follow tests to cover the change:

local retention time

local retention size

lag time

lag size

Expect result

-1

-1

0

0

No delay check

-1

-1

No delay check

1 day

1 GB

lag: 1 day + 1 GB

3 day

-1

0

0

No delay check

-1

-1

lag:  3 day + no size check

1 day

1 GB

lag: 1 day + 1 GB

-1

3 GB

0

0

No delay check

-1

-1

lag:  no time check + 3 GB

1 day

1 GB

lag: 1 day + 1 GB

3 day

3 GB

0

0

No delay check

-1

-1

lag: 3 day + 3 GB

1 day

1 GB

lag: 1 day + 1 GB

Unit Tests:

  1. Test upload eligibility logic with different configure values
  2. Test configuration validation for topic

...