eventing icon indicating copy to clipboard operation
eventing copied to clipboard

Need some refactor regarding the triggers, brokers and channel naming, code and methods

Open gabo1208 opened this issue 3 years ago • 6 comments

Problem Need some refactor regarding the triggers, brokers and channel naming, code and methods. Following up #5824 issue, there are some inconsistent naming convention around DeadLetterSinks. This including crds and testing methods, variables and descriptions.

Some examples can be found in this PR where some of this details are around some of the commits, but it was decided to separate those concerns into a separate issue and PR so they don't mix.

Persona: Developers

Exit Criteria Improve variables and method names redability regarding Triggers, Channels and Brokers DLS

gabo1208 avatar Oct 19 '21 23:10 gabo1208

Thanks for taking care of this!

Could we have better descriptions of the problem and links to comments at other issues/PRs so that:

  • we can scope what needs to be done here.
  • anyone reviewing does not need to follow all previous history of status fixes (I think this issue is related to those)

odacremolbap avatar Oct 20 '21 06:10 odacremolbap

This issue is stale because it has been open for 90 days with no activity. It will automatically close after 30 more days of inactivity. Reopen the issue with /reopen. Mark the issue as fresh by adding the comment /remove-lifecycle stale.

github-actions[bot] avatar Jan 19 '22 01:01 github-actions[bot]

@gabo1208 is this issue still relevant?

/remove-lifecycle stale

pierDipi avatar Jan 19 '22 08:01 pierDipi

It is but is not urgent, we have lots of repeating code and naming inconsistencies in the broker's, trigger's, channel's and subscription's code. Let me finish some things I have for this week and try to put concrete cases in this issue.

gabo1208 avatar Jan 19 '22 13:01 gabo1208

/triage accepted

pierDipi avatar Jan 19 '22 13:01 pierDipi

Hi, if this issue is still relevant I would like to work on it. Seems to me that Dead Letter Sink(DLS) was previously called Dead Letter Queue(DLQ) in the code. And because of this, word 'DLQ' has been used at multiple locations in code and needs to be replaced with DLS for consistency. Am I correct?

garg-dhruv avatar Mar 15 '23 18:03 garg-dhruv

Closing this issue for now as it's not clear what needs to be done exactly.

Thanks for the interesting @garg-dhruv

pierDipi avatar Mar 27 '24 18:03 pierDipi