Skip to content

Conversation

eduwercamacaro
Copy link
Contributor

Delete this text and replace it with a detailed description of your change. The
PR title and body will become the squashed commit message.

If you would like to tag individuals, add some commentary, upload images, or
include other supplemental information that should not be part of the eventual
commit message, please use a separate comment.

If applicable, please include a summary of the testing strategy (including
rationale) for the proposed change. Unit and/or integration tests are expected
for any behavior change and system tests should be considered for larger
changes.

@github-actions github-actions bot added triage PRs from the community streams small Small PRs labels Aug 25, 2025
@@ -1104,11 +1104,18 @@ private void initializeTopology() {
// initialize the task by initializing all its processor nodes in the topology
log.trace("Initializing processor nodes of the topology");
for (final ProcessorNode<?, ?, ?, ?> node : topology.processors()) {
processorContext.setCurrentNode(node);
final ProcessorRecordContext recordContext = new ProcessorRecordContext(
time.milliseconds(),
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not sure if this would be what we want? We would set a single TS, and if init() runs for a longer period of time, all records would get the same TS?

We might need to change ProcessorRecordContext to have a "time function" instead of a hard-coded value? For a record at hand, the time function would be () -> record.timestamp() and return the same value each time, and for this dummy context, we would use () -> time.milliseconds().

But need to think about this more, and figure out what design we really want to get to, and what the splash radius of changing ProcessorRecordContext would be :)

@github-actions github-actions bot removed the triage PRs from the community label Aug 26, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants