Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Automatic offset tracking for stream queues #661

Draft
wants to merge 68 commits into
base: main
Choose a base branch
from

Commits on Nov 12, 2024

  1. Configuration menu
    Copy the full SHA
    533ab86 View commit details
    Browse the repository at this point in the history
  2. specs

    viktorerlingsson committed Nov 12, 2024
    Configuration menu
    Copy the full SHA
    8636ec6 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    9e6c236 View commit details
    Browse the repository at this point in the history
  4. format

    viktorerlingsson committed Nov 12, 2024
    Configuration menu
    Copy the full SHA
    cc3718f View commit details
    Browse the repository at this point in the history
  5. refactor, dont init consumer tracking stuff unless needed. resize fil…

    …e on init to facilitate simple write.
    viktorerlingsson committed Nov 12, 2024
    Configuration menu
    Copy the full SHA
    823562e View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    bc291dd View commit details
    Browse the repository at this point in the history
  7. format

    viktorerlingsson committed Nov 12, 2024
    Configuration menu
    Copy the full SHA
    f0ff66e View commit details
    Browse the repository at this point in the history
  8. lint

    viktorerlingsson committed Nov 12, 2024
    Configuration menu
    Copy the full SHA
    632934a View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    92280a2 View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    1d5e97d View commit details
    Browse the repository at this point in the history
  11. Configuration menu
    Copy the full SHA
    40cb965 View commit details
    Browse the repository at this point in the history
  12. format

    viktorerlingsson committed Nov 12, 2024
    Configuration menu
    Copy the full SHA
    3bf4258 View commit details
    Browse the repository at this point in the history
  13. lint

    viktorerlingsson committed Nov 12, 2024
    Configuration menu
    Copy the full SHA
    9455db1 View commit details
    Browse the repository at this point in the history
  14. Configuration menu
    Copy the full SHA
    7127e6e View commit details
    Browse the repository at this point in the history
  15. add spec for cleanup

    viktorerlingsson committed Nov 12, 2024
    Configuration menu
    Copy the full SHA
    e3955ee View commit details
    Browse the repository at this point in the history
  16. raise before updating instance variable

    Co-authored-by: Carl Hörberg <carl@84codes.com>
    viktorerlingsson and carlhoerberg committed Nov 12, 2024
    Configuration menu
    Copy the full SHA
    50551b4 View commit details
    Browse the repository at this point in the history
  17. refactor

    Co-authored-by: Carl Hörberg <carl@84codes.com>
    viktorerlingsson and carlhoerberg committed Nov 12, 2024
    Configuration menu
    Copy the full SHA
    94e6db9 View commit details
    Browse the repository at this point in the history
  18. remove comment

    Co-authored-by: Carl Hörberg <carl@84codes.com>
    viktorerlingsson and carlhoerberg committed Nov 12, 2024
    Configuration menu
    Copy the full SHA
    cab1200 View commit details
    Browse the repository at this point in the history
  19. refactor

    Co-authored-by: Carl Hörberg <carl@84codes.com>
    viktorerlingsson and carlhoerberg committed Nov 12, 2024
    Configuration menu
    Copy the full SHA
    1606bfa View commit details
    Browse the repository at this point in the history
  20. refactor

    Co-authored-by: Carl Hörberg <carl@84codes.com>
    viktorerlingsson and carlhoerberg committed Nov 12, 2024
    Configuration menu
    Copy the full SHA
    9fe79b2 View commit details
    Browse the repository at this point in the history
  21. format

    viktorerlingsson committed Nov 12, 2024
    Configuration menu
    Copy the full SHA
    2f12ad0 View commit details
    Browse the repository at this point in the history
  22. Configuration menu
    Copy the full SHA
    f047c6e View commit details
    Browse the repository at this point in the history
  23. remove comment

    viktorerlingsson committed Nov 12, 2024
    Configuration menu
    Copy the full SHA
    7213715 View commit details
    Browse the repository at this point in the history
  24. Configuration menu
    Copy the full SHA
    5f854d8 View commit details
    Browse the repository at this point in the history
  25. remove unused var

    viktorerlingsson committed Nov 12, 2024
    Configuration menu
    Copy the full SHA
    8c6bcf8 View commit details
    Browse the repository at this point in the history
  26. Configuration menu
    Copy the full SHA
    34c7a03 View commit details
    Browse the repository at this point in the history
  27. Configuration menu
    Copy the full SHA
    39f45fe View commit details
    Browse the repository at this point in the history
  28. Configuration menu
    Copy the full SHA
    a1c73d7 View commit details
    Browse the repository at this point in the history
  29. Configuration menu
    Copy the full SHA
    0657ada View commit details
    Browse the repository at this point in the history
  30. Configuration menu
    Copy the full SHA
    85e1955 View commit details
    Browse the repository at this point in the history
  31. update spec

    viktorerlingsson committed Nov 12, 2024
    Configuration menu
    Copy the full SHA
    ad69700 View commit details
    Browse the repository at this point in the history
  32. Configuration menu
    Copy the full SHA
    51d199a View commit details
    Browse the repository at this point in the history
  33. format

    viktorerlingsson committed Nov 12, 2024
    Configuration menu
    Copy the full SHA
    b6c079d View commit details
    Browse the repository at this point in the history
  34. lint

    viktorerlingsson committed Nov 12, 2024
    Configuration menu
    Copy the full SHA
    00b05f0 View commit details
    Browse the repository at this point in the history
  35. lint

    viktorerlingsson committed Nov 12, 2024
    Configuration menu
    Copy the full SHA
    791c6a7 View commit details
    Browse the repository at this point in the history
  36. String#bytesize

    Co-authored-by: Carl Hörberg <carl@84codes.com>
    viktorerlingsson and carlhoerberg committed Nov 12, 2024
    Configuration menu
    Copy the full SHA
    ab1e624 View commit details
    Browse the repository at this point in the history
  37. Configuration menu
    Copy the full SHA
    dbe06f1 View commit details
    Browse the repository at this point in the history
  38. Configuration menu
    Copy the full SHA
    b608a8f View commit details
    Browse the repository at this point in the history
  39. Configuration menu
    Copy the full SHA
    58c48d4 View commit details
    Browse the repository at this point in the history
  40. lint

    viktorerlingsson committed Nov 12, 2024
    Configuration menu
    Copy the full SHA
    3413949 View commit details
    Browse the repository at this point in the history
  41. lint

    viktorerlingsson committed Nov 12, 2024
    Configuration menu
    Copy the full SHA
    f6340f2 View commit details
    Browse the repository at this point in the history
  42. Configuration menu
    Copy the full SHA
    48849af View commit details
    Browse the repository at this point in the history
  43. remove unused code

    viktorerlingsson committed Nov 12, 2024
    Configuration menu
    Copy the full SHA
    5b071c9 View commit details
    Browse the repository at this point in the history
  44. Configuration menu
    Copy the full SHA
    f9bc466 View commit details
    Browse the repository at this point in the history
  45. format

    viktorerlingsson committed Nov 12, 2024
    Configuration menu
    Copy the full SHA
    2b31cbd View commit details
    Browse the repository at this point in the history
  46. lint

    viktorerlingsson committed Nov 12, 2024
    Configuration menu
    Copy the full SHA
    1619e35 View commit details
    Browse the repository at this point in the history
  47. Configuration menu
    Copy the full SHA
    e4361c0 View commit details
    Browse the repository at this point in the history
  48. cleanup spec

    viktorerlingsson committed Nov 12, 2024
    Configuration menu
    Copy the full SHA
    e2c9c44 View commit details
    Browse the repository at this point in the history
  49. add option to use broker tracking when x-stream-offset is set by usin…

    …g x-stream-use-automatic-offset
    viktorerlingsson committed Nov 12, 2024
    Configuration menu
    Copy the full SHA
    87dd311 View commit details
    Browse the repository at this point in the history
  50. add spec

    viktorerlingsson committed Nov 12, 2024
    Configuration menu
    Copy the full SHA
    28bdf4c View commit details
    Browse the repository at this point in the history
  51. no need to truncate mfile, it's being deleted

    Co-authored-by: Carl Hörberg <carl@84codes.com>
    viktorerlingsson and carlhoerberg committed Nov 12, 2024
    Configuration menu
    Copy the full SHA
    1e0a92b View commit details
    Browse the repository at this point in the history
  52. Configuration menu
    Copy the full SHA
    b170d16 View commit details
    Browse the repository at this point in the history
  53. Configuration menu
    Copy the full SHA
    6dcd056 View commit details
    Browse the repository at this point in the history
  54. Configuration menu
    Copy the full SHA
    23036e1 View commit details
    Browse the repository at this point in the history
  55. remove unused code

    viktorerlingsson committed Nov 12, 2024
    Configuration menu
    Copy the full SHA
    526b81e View commit details
    Browse the repository at this point in the history
  56. use LittleEndian

    Co-authored-by: Carl Hörberg <carl@84codes.com>
    viktorerlingsson and carlhoerberg committed Nov 12, 2024
    Configuration menu
    Copy the full SHA
    11cabda View commit details
    Browse the repository at this point in the history
  57. Configuration menu
    Copy the full SHA
    7d48d7e View commit details
    Browse the repository at this point in the history
  58. Configuration menu
    Copy the full SHA
    265abcd View commit details
    Browse the repository at this point in the history
  59. Configuration menu
    Copy the full SHA
    e4b2951 View commit details
    Browse the repository at this point in the history
  60. use queue_data_dir

    viktorerlingsson committed Nov 12, 2024
    Configuration menu
    Copy the full SHA
    37a446f View commit details
    Browse the repository at this point in the history
  61. Configuration menu
    Copy the full SHA
    9e3280f View commit details
    Browse the repository at this point in the history
  62. Configuration menu
    Copy the full SHA
    a0bf581 View commit details
    Browse the repository at this point in the history
  63. include tag size prefix byte in consumer_offset_file_full?

    Co-authored-by: Carl Hörberg <carl@84codes.com>
    viktorerlingsson and carlhoerberg committed Nov 12, 2024
    Configuration menu
    Copy the full SHA
    601217e View commit details
    Browse the repository at this point in the history
  64. only append consumer offsets file, compact when full, expand if still…

    … full. Use config.instance.segment_size
    viktorerlingsson committed Nov 12, 2024
    Configuration menu
    Copy the full SHA
    a526419 View commit details
    Browse the repository at this point in the history
  65. Configuration menu
    Copy the full SHA
    e1a0bf8 View commit details
    Browse the repository at this point in the history
  66. Configuration menu
    Copy the full SHA
    cf1cca7 View commit details
    Browse the repository at this point in the history
  67. Configuration menu
    Copy the full SHA
    f7aad09 View commit details
    Browse the repository at this point in the history
  68. lint

    viktorerlingsson committed Nov 12, 2024
    Configuration menu
    Copy the full SHA
    cce2560 View commit details
    Browse the repository at this point in the history