Skip to content

Conversation

@aronchick
Copy link
Owner

@aronchick aronchick commented Dec 17, 2025

Summary

  • Remove the ShutdownTimeout field from StreamingFileInputConfig
  • Use Bento's existing shutdown_timeout configuration instead
  • The context passed to Close() already respects the global shutdown_timeout setting

Motivation

This addresses reviewer feedback on PR warpstreamlabs#514 - the component should use Bento's existing shutdown mechanism rather than a component-specific timeout.

Changes

  • Removed ShutdownTimeout field from config struct
  • Removed default value initialization
  • Updated Close() to rely on context deadline controlled by Bento's shutdown_timeout

Use Bento's existing shutdown_timeout configuration instead of a
component-specific ShutdownTimeout field. The context passed to Close()
already respects the global shutdown_timeout setting.

This aligns with Bento idioms where shutdown behavior is controlled at
the stream level rather than per-component.
@aronchick aronchick force-pushed the fix/remove-shutdown-timeout branch from 12c80e1 to 775f287 Compare December 17, 2025 21:21
@aronchick aronchick marked this pull request as ready for review December 17, 2025 21:51
@aronchick aronchick merged commit 6f4fc64 into main Dec 17, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants