Skip to content

Commit

Permalink
Merge pull request #137 from dolittle/stream-position
Browse files Browse the repository at this point in the history
Add stream position to stream events
  • Loading branch information
mhelleborg authored Jan 3, 2025
2 parents 8d3ad11 + ff0f2c1 commit f580963
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 10 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,9 +42,9 @@ jobs:
needs: context
steps:
- uses: actions/checkout@v2
- uses: actions/setup-dotnet@v1
- uses: actions/setup-dotnet@v4
with:
dotnet-version: "3.1.x"
dotnet-version: "9.x"
- name: Update VersionInfo
uses: dolittle/update-version-info-action@v1
with:
Expand Down Expand Up @@ -153,9 +153,9 @@ jobs:
if: ${{ needs.context.outputs.should-publish == 'true' }}
steps:
- uses: actions/checkout@v2
- uses: actions/setup-dotnet@v1
- uses: actions/setup-dotnet@v4
with:
dotnet-version: "3.1.x"
dotnet-version: "9.x"
- name: Update VersionInfo
uses: dolittle/update-version-info-action@v1
with:
Expand Down
13 changes: 7 additions & 6 deletions Generation/CSharp/Contracts.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -6,14 +6,15 @@
<Protobuf_NoWarnMissingExpected>True</Protobuf_NoWarnMissingExpected>
<Protobuf_TouchMissingExpected>True</Protobuf_TouchMissingExpected>
<DocumentationFile>bin/$(Configuration)/$(TargetFramework)/$(AssemblyName).xml</DocumentationFile>
<InvariantGlobalization>true</InvariantGlobalization>
</PropertyGroup>

<ItemGroup>
<PackageReference Include="Dolittle.Common" Version="2.*" PrivateAssets="All"/>
<PackageReference Include="Google.Protobuf" Version="3.18.1" />
<PackageReference Include="Google.Protobuf.Tools" Version="3.19.4" PrivateAssets="All"/>
<PackageReference Include="Grpc.Tools" Version="2.43.0" PrivateAssets="All"/>
<PackageReference Include="Grpc.Core.Api" Version="2.43.0" />
<PackageReference Include="Google.Protobuf" Version="3.29.2" />
<PackageReference Include="Google.Protobuf.Tools" Version="3.29.2" PrivateAssets="All" />
<PackageReference Include="Grpc.Tools" Version="2.68.1" PrivateAssets="All" />
<PackageReference Include="Grpc.Core.Api" Version="2.67.0" />
</ItemGroup>

<ItemGroup>
Expand All @@ -29,8 +30,8 @@

<Target Name="DeleteSourceFiles" BeforeTargets="BeforeBuild">
<ItemGroup>
<FilesToDelete Include="**/*.cs" Exclude="VersionInfo.cs"/>
<FilesToDelete Include="**/*.cs" Exclude="VersionInfo.cs" />
</ItemGroup>
<Delete Files="@(FilesToDelete)"/>
<Delete Files="@(FilesToDelete)" />
</Target>
</Project>
1 change: 1 addition & 0 deletions Source/Runtime/Events.Processing/StreamEvent.proto
Original file line number Diff line number Diff line change
Expand Up @@ -16,4 +16,5 @@ message StreamEvent {
string partitionId = 2;
protobuf.Uuid scopeId = 3;
bool partitioned = 4;
uint64 streamPosition = 5;
}

0 comments on commit f580963

Please sign in to comment.