justinmclean opened a new pull request, #52:
URL: https://github.com/apache/iggy-website/pull/52

   The Node quickstart sent to a stream and topic it never created, so it failed
   immediately on a fresh server.
   
   Both pages now:
   
   - look up the stream and topic by name and create only what is missing, so 
runs
     are repeatable
   - use `Partitioning.Balanced` instead of indexing `topic.partitions`, which 
is
     absent from the object `topic.list` returns even though `topic.create`
     includes it
   - address the stream and topic by name in the consumer rather than assuming 
ids 1 and 1
   - poll with `PollingStrategy.Next` and `autocommit: true`, so consecutive 
runs
     read successive batches instead of repeating the first ten
   - fix `partitionId` from 1 to 0
   - call `client.destroy()`
   
   Verified against `apache/iggy:edge`: producer twice, consumer twice, second 
run
   picking up the next batch.
   
   AI was used to help draft this. Reviewed and tested by a real human.


-- 
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