vitorsantos-commits opened a new issue, #6745:
URL: https://github.com/apache/hop/issues/6745

   ### What would you like to happen?
   
   Current Behavior:
   The REST Client transform executes a request for every single row that 
enters the step. While this is the intended behavior for most ETL processes, 
there are scenarios where a pipeline receives multiple rows but only needs to 
trigger a REST call once (e.g., to notify a monitoring system that the process 
started, or to fetch a single authentication token using the first row's 
context).
   
   Requested Feature:
   I would like to suggest adding a checkbox in the "General" tab of the REST 
Client transform named "Send only first row" (or similar).
   
   When enabled:
   
   The transform would process the very first row it receives.
   
   It would execute the HTTP request for that row.
   
   All subsequent rows would either be ignored or passed through without 
triggering additional API calls.
   
   Why this is useful:
   
   Performance: It avoids the need to use a "Sample rows" transform before 
every REST Client when only one call is needed.
   
   Usability: It makes the pipeline design cleaner and more intuitive for 
"trigger-style" API calls.
   
   Resource Management: Prevents accidental "API spamming" or hitting rate 
limits when the input stream unexpectedly contains multiple rows.
   
   Proposed UI change:
   A simple checkbox in the "General" settings of the REST Client transform.
   
   ### Issue Priority
   
   Priority: 3
   
   ### Issue Component
   
   Component: Hop Gui


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to