-
Notifications
You must be signed in to change notification settings - Fork 10
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
feat(all): retry and clean queue system #77
Merged
guillaume-chervet
merged 139 commits into
main
from
feature/retry-with-deadletter-queue
Dec 31, 2024
Merged
Changes from 115 commits
Commits
Show all changes
139 commits
Select commit
Hold shift + click to select a range
645d150
feat(all): retry with dead letter queue
guillaume-chervet 36d805a
fix test
guillaume-chervet e189e52
test
guillaume-chervet f353956
test demo
guillaume-chervet a51a594
test
guillaume-chervet ea68a0f
fix
guillaume-chervet 2bcbf4e
fix
guillaume-chervet 8a30f76
fix
guillaume-chervet 7e592d5
test
guillaume-chervet 868340c
test
guillaume-chervet a31b2f7
dada
guillaume-chervet b551e52
update
guillaume-chervet 9be7563
fix
guillaume-chervet 7337852
fix
guillaume-chervet b02c40a
fix
guillaume-chervet fee300d
fix
guillaume-chervet 374438e
dqsdqs
guillaume-chervet f66db0d
test
guillaume-chervet 76820f0
fix
guillaume-chervet ac26a2b
test
guillaume-chervet 3038b8e
test
guillaume-chervet edaa5cf
fix
guillaume-chervet 76f33f0
qdqd
guillaume-chervet e40c246
fix
guillaume-chervet 00adc78
Update global.json
guillaume-chervet 80b7604
Update Fibonacci.csproj
guillaume-chervet 3ff62da
fix
guillaume-chervet a392253
qsddf
guillaume-chervet 11f14d5
fix
guillaume-chervet dae5f4f
fix
guillaume-chervet 5f6a78b
update documentation
guillaume-chervet 25ace8b
update
guillaume-chervet 7131f96
merge with main
guillaume-chervet 6ee04cb
test
guillaume-chervet c63ece3
updae
guillaume-chervet 15f7f51
update
guillaume-chervet 476c574
first build
guillaume-chervet 03d9976
fix serialization
guillaume-chervet 8e17abe
fix
guillaume-chervet 99c6ed0
fix
guillaume-chervet 0f8a3fc
fix
guillaume-chervet d5b2f16
update
guillaume-chervet 9e95c4a
fix
guillaume-chervet 3aa2d21
fix
guillaume-chervet 5e9dfd9
fix
guillaume-chervet a76a587
fix
guillaume-chervet 4a488a7
test
guillaume-chervet 23bd13e
fix
guillaume-chervet 579d8d5
fix
guillaume-chervet 1864219
test
guillaume-chervet 58b386f
test
guillaume-chervet 24bfaf9
text
guillaume-chervet d79c212
fix
guillaume-chervet f4990d0
test
guillaume-chervet b3d654f
fix
guillaume-chervet 5331249
fix
guillaume-chervet 9c8d98d
test
guillaume-chervet 755dcd2
update
guillaume-chervet dccd5ff
fix test
guillaume-chervet f438057
test
guillaume-chervet 83bcc27
last fix
guillaume-chervet c3992e8
fix
guillaume-chervet 34f84b2
test
guillaume-chervet 674c2c0
fix
guillaume-chervet 445650c
test
guillaume-chervet c135ec2
test
guillaume-chervet 3b6a752
test
guillaume-chervet adba751
update
guillaume-chervet 4c4cf1d
fix
guillaume-chervet a37e207
test
guillaume-chervet 559fa07
fix
guillaume-chervet 711163d
fix
guillaume-chervet 5695601
fix
guillaume-chervet 0106607
ddd
guillaume-chervet 6a3b971
sss
guillaume-chervet 6fe2573
sssssss
guillaume-chervet 92371dd
fox
guillaume-chervet 8149515
fix
guillaume-chervet d7ed680
optimzation du be able to read logs
guillaume-chervet 8428682
to be finieshed
guillaume-chervet 0ac1cf0
fix
guillaume-chervet 21e145f
fix
guillaume-chervet 5199d17
f
guillaume-chervet 98af0f9
Merge branch 'main' into feature/retry-with-deadletter-queue
guillaume-chervet 9aa0f8f
test
guillaume-chervet 103a40e
test
guillaume-chervet 10f3352
test
guillaume-chervet 18c007c
test
guillaume-chervet e3df9c6
test
guillaume-chervet ec64ab5
ss
guillaume-chervet d818dbe
test
guillaume-chervet 80b09b3
test
guillaume-chervet 757c183
test
guillaume-chervet dc5b1d5
test
guillaume-chervet 67ed9b1
update
guillaume-chervet ad41a80
test
guillaume-chervet c59e405
update
guillaume-chervet 7cff6ab
test
guillaume-chervet d650f60
test
guillaume-chervet cb248e7
test
guillaume-chervet f1d6246
update
guillaume-chervet 710b151
test
guillaume-chervet e3de7c1
test
guillaume-chervet 14156ce
start clean up
guillaume-chervet 8a9a29e
test
guillaume-chervet f1afb10
fix
guillaume-chervet 8e35111
clean
guillaume-chervet de785de
update
guillaume-chervet cb585a7
fix
guillaume-chervet 41ea8db
update
guillaume-chervet b4b88d2
Update
guillaume-chervet 437edbf
sssss
guillaume-chervet e3e7cdf
Continue
guillaume-chervet aabe661
youhou
guillaume-chervet 9f06062
clean
guillaume-chervet 1cad2fc
Merge branch 'main' into feature/retry-with-deadletter-queue
guillaume-chervet 491e5ad
clean
guillaume-chervet 9bff0fa
Merge branch 'feature/retry-with-deadletter-queue' of https://github.…
guillaume-chervet 2f9ae96
clean :)
guillaume-chervet 717f197
test
guillaume-chervet b5a2700
test
guillaume-chervet 6edf95f
test
guillaume-chervet b3202ed
update
guillaume-chervet 83ab0b0
last fix
guillaume-chervet a9492fb
clen
guillaume-chervet b0a8781
update
guillaume-chervet cbb102d
upgrade libraies
guillaume-chervet 4943cfd
clean
guillaume-chervet 04b47f7
u^date
guillaume-chervet 5b4c501
dddd
guillaume-chervet 2c33dd1
fix
guillaume-chervet 06f3750
clean
guillaume-chervet cbc27fe
fix
guillaume-chervet 69a2b7b
update
guillaume-chervet 2668d2f
test
guillaume-chervet e28a152
test
guillaume-chervet 9bb5228
test
guillaume-chervet a72b51d
update
guillaume-chervet b0f76a2
last clean
guillaume-chervet File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,45 @@ | ||
using System.Text; | ||
using DotNext.IO; | ||
using DotNext.Runtime.Serialization; | ||
using DotNext.Text; | ||
|
||
namespace SlimData.Commands; | ||
|
||
public struct ListCallbackCommand : ISerializable<ListCallbackCommand> | ||
{ | ||
public const int Id = 15; | ||
|
||
public string Identifier { get; set; } | ||
public string Key { get; set; } | ||
|
||
public int HttpCode { get; set; } | ||
|
||
public long NowTicks { get; set; } | ||
|
||
public async ValueTask WriteToAsync<TWriter>(TWriter writer, CancellationToken token) where TWriter : notnull, IAsyncBinaryWriter | ||
{ | ||
var command = this; | ||
await writer.EncodeAsync(command.Identifier.AsMemory(), new EncodingContext(Encoding.UTF8, false), | ||
LengthFormat.LittleEndian, token).ConfigureAwait(false); | ||
await writer.EncodeAsync(command.Key.AsMemory(), new EncodingContext(Encoding.UTF8, false), | ||
LengthFormat.LittleEndian, token).ConfigureAwait(false); | ||
await writer.WriteLittleEndianAsync(HttpCode, token).ConfigureAwait(false); | ||
await writer.WriteLittleEndianAsync(NowTicks, token).ConfigureAwait(false); | ||
} | ||
|
||
long? IDataTransferObject.Length => Encoding.UTF8.GetByteCount(Identifier) + sizeof(int) + Encoding.UTF8.GetByteCount(Key) + sizeof(long); | ||
|
||
public static async ValueTask<ListCallbackCommand> ReadFromAsync<TReader>(TReader reader, CancellationToken token) where TReader : notnull, IAsyncBinaryReader | ||
{ | ||
var identifier = await reader.DecodeAsync( new DecodingContext(Encoding.UTF8, false), LengthFormat.LittleEndian, token: token).ConfigureAwait(false); | ||
var key = await reader.DecodeAsync( new DecodingContext(Encoding.UTF8, false), LengthFormat.LittleEndian, token: token).ConfigureAwait(false); | ||
|
||
return new ListCallbackCommand | ||
{ | ||
Identifier = identifier.ToString(), | ||
Key = key.ToString(), | ||
HttpCode = await reader.ReadLittleEndianAsync<Int32>(token).ConfigureAwait(false), | ||
NowTicks = await reader.ReadLittleEndianAsync<Int64>(token).ConfigureAwait(false) | ||
}; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
to delete