Skip to content

Consumer updates

Consumer updates #45

Triggered via pull request August 28, 2024 18:08
@eabaeaba
opened #181
consumer
Status Success
Total duration 14m 32s
Artifacts

test.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

11 warnings
ubuntu-latest
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, actions/setup-dotnet@v3, actions/cache@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
ubuntu-latest
/home/runner/work/SharpPulsar/SharpPulsar/src/SharpPulsar/Protocol/Proto/PulsarApi.cs(1983,55): warning CS0078: The 'l' suffix is easily confused with the digit '1' -- use 'L' for clarity [/home/runner/work/SharpPulsar/SharpPulsar/src/SharpPulsar/SharpPulsar.csproj]
ubuntu-latest
/home/runner/work/SharpPulsar/SharpPulsar/src/SharpPulsar/Consumer/PatternConsumerUpdateQueue.cs(32,103): warning CS8632: The annotation for nullable reference types should only be used in code within a '#nullable' annotations context. [/home/runner/work/SharpPulsar/SharpPulsar/src/SharpPulsar/SharpPulsar.csproj]
ubuntu-latest
/home/runner/work/SharpPulsar/SharpPulsar/src/SharpPulsar/Client/ConnectionHandler.cs(86,52): warning CS1998: This async method lacks 'await' operators and will run synchronously. Consider using the 'await' operator to await non-blocking API calls, or 'await Task.Run(...)' to do CPU-bound work on a background thread. [/home/runner/work/SharpPulsar/SharpPulsar/src/SharpPulsar/SharpPulsar.csproj]
ubuntu-latest
/home/runner/work/SharpPulsar/SharpPulsar/src/SharpPulsar/Consumer/PatternConsumerUpdateQueue.cs(196,46): warning CS0168: The variable 'ex' is declared but never used [/home/runner/work/SharpPulsar/SharpPulsar/src/SharpPulsar/SharpPulsar.csproj]
ubuntu-latest
/home/runner/work/SharpPulsar/SharpPulsar/src/SharpPulsar/Shared/SchemaType.cs(308,13): warning CS0612: 'SchemaType.AUTO' is obsolete [/home/runner/work/SharpPulsar/SharpPulsar/src/SharpPulsar/SharpPulsar.csproj]
ubuntu-latest
/home/runner/work/SharpPulsar/SharpPulsar/src/SharpPulsar/Protocol/Proto/PulsarApi.cs(1986,47): warning CS0078: The 'l' suffix is easily confused with the digit '1' -- use 'L' for clarity [/home/runner/work/SharpPulsar/SharpPulsar/src/SharpPulsar/SharpPulsar.csproj]
ubuntu-latest
/home/runner/work/SharpPulsar/SharpPulsar/src/SharpPulsar/Tracker/UnAckedMessageRedeliveryTracker.cs(37,37): warning CS0414: The field 'UnAckedMessageRedeliveryTracker<T>._scheduler' is assigned but its value is never used [/home/runner/work/SharpPulsar/SharpPulsar/src/SharpPulsar/SharpPulsar.csproj]
ubuntu-latest
/home/runner/work/SharpPulsar/SharpPulsar/src/SharpPulsar/Consumer/ConsumerActor.cs(81,28): warning CS0414: The field 'ConsumerActor<T>._seekStatus' is assigned but its value is never used [/home/runner/work/SharpPulsar/SharpPulsar/src/SharpPulsar/SharpPulsar.csproj]
ubuntu-latest
/home/runner/work/SharpPulsar/SharpPulsar/src/SharpPulsar/Client/ConnectionHandler.cs(86,13): warning AK1003: ReceiveAsync<T>() or ReceiveAnyAsync() message handler with synchronous code body or block is less performant compared to Receive<T>() or ReceiveAny(). Consider changing this message handler to Receive<T>() or ReceiveAny() instead. (https://getakka.net/articles/debugging/rules/AK1003.html) [/home/runner/work/SharpPulsar/SharpPulsar/src/SharpPulsar/SharpPulsar.csproj]
ubuntu-latest
/home/runner/work/SharpPulsar/SharpPulsar/src/SharpPulsar.TestContainer/TestUtils/ArchiveHelper.cs(96,21): warning CS8604: Possible null reference argument for parameter 'path3' in 'string Path.Combine(string path1, string path2, string path3)'. [/home/runner/work/SharpPulsar/SharpPulsar/src/SharpPulsar.TestContainer/SharpPulsar.TestContainer.csproj::TargetFramework=net8.0]