debezium / debezium/dbz

Consistently use java.time.Duration for representing intervals [DBZ-613]

Open
#128 0 comments 0 reactions 0 assignees View on GitHub
migrated-from-jira type/enhancement
Dominant language
HTML
Stars
6
Forks
9
Avg merge
2d 19h
Merged PRs (30d)
1

Description

Migrated from [DBZ-613](https://issues.redhat.com/browse/DBZ-613)

We should consistently use {{java.time.Duration}} in the code base instead of {{long}} values representing durations. {{Configuration#getDuration()}} should be used to obtain any configuration values representing temporal intervals.

Contributor guide

Open the contributing guide

Research direction

Start by searching the codebase for long values representing durations and for configuration values that represent temporal intervals. Review Configuration#getDuration() and map the affected usages before making changes. Done means interval handling consistently uses java.time.Duration and relevant configuration values are obtained through Configuration#getDuration().

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
backend
Issue type
Refactor
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.