Skip to content

Commit

Permalink
Update to JNet 1.4.8 (#98)
Browse files Browse the repository at this point in the history
* #92: update to JNet 1.4.8

* Update README.md
  • Loading branch information
masesdevelopers authored Oct 21, 2022
1 parent 2079add commit 00fddef
Show file tree
Hide file tree
Showing 12 changed files with 17 additions and 14 deletions.
5 changes: 4 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
# KNet: .NET gateway for Apache Kafka APIs

[![CI_BUILD](https://github.com/masesgroup/KNet/actions/workflows/build.yaml/badge.svg)](https://github.com/masesgroup/KNet/actions/workflows/build.yaml) [![CI_RELEASE](https://github.com/masesgroup/KNet/actions/workflows/release.yaml/badge.svg)](https://github.com/masesgroup/KNet/actions/workflows/release.yaml)
[![CI_BUILD](https://github.com/masesgroup/KNet/actions/workflows/build.yaml/badge.svg)](https://github.com/masesgroup/KNet/actions/workflows/build.yaml)
[![CI_PULLREQUEST](https://github.com/masesgroup/KNet/actions/workflows/pullrequest.yaml/badge.svg)](https://github.com/masesgroup/KNet/actions/workflows/pullrequest.yaml)
[![CodeQL](https://github.com/masesgroup/KNet/actions/workflows/codeql-analysis.yml/badge.svg)](https://github.com/masesgroup/KNet/actions/workflows/codeql-analysis.yml)
[![CI_RELEASE](https://github.com/masesgroup/KNet/actions/workflows/release.yaml/badge.svg)](https://github.com/masesgroup/KNet/actions/workflows/release.yaml)

|KNet | KNetCLI | KNet.Templates |
|--- |--- |--- |
Expand Down
2 changes: 1 addition & 1 deletion src/java/knet/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
<name>mases.knet</name>
<description>Interface bridging implementation for Apache Kafka</description>
<url>https://github.com/masesgroup/KNet</url>
<version>1.4.2.0</version>
<version>1.4.3.0</version>

<licenses>
<license>
Expand Down
2 changes: 1 addition & 1 deletion src/net/Common/Common.props
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<Owners>MASES s.r.l.</Owners>
<Authors>MASES s.r.l.</Authors>
<Company>MASES s.r.l.</Company>
<Version>1.4.2.0</Version>
<Version>1.4.3.0</Version>
<TargetFrameworks>net462;netcoreapp3.1;net6.0</TargetFrameworks>
<LangVersion>latest</LangVersion>
<GenerateAssemblyInfo>true</GenerateAssemblyInfo>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,10 +25,9 @@
using Java.Util;
using MASES.KNet.Streams.Errors;
using MASES.KNet.Streams.Processor;
using System;
using MASES.KNet.Streams.Query;
using Java.Lang;
using System.Threading;
using System;

namespace MASES.KNet.Streams
{
Expand Down Expand Up @@ -110,7 +109,7 @@ public KafkaStreams(Topology topology, StreamsConfig config, KafkaClientSupplier

public KafkaStreams(Topology topology, StreamsConfig config, Time time) : base(topology, config, time) { }

public StateType State => (StateType)Enum.Parse(typeof(StateType), IExecute<IJavaObject>("state").Invoke<string>("name"));
public StateType State => (StateType)System.Enum.Parse(typeof(StateType), IExecute<IJavaObject>("state").Invoke<string>("name"));

public void SetStateListener(StateListener listener)
{
Expand Down
2 changes: 1 addition & 1 deletion src/net/KNet/KNet.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
<None Include="..\Documentation\articles\usage.md" Pack="true" PackagePath="\" />
</ItemGroup>
<ItemGroup>
<PackageReference Include="MASES.JNet" Version="1.4.7">
<PackageReference Include="MASES.JNet" Version="1.4.8">
<IncludeAssets>All</IncludeAssets>
<PrivateAssets>None</PrivateAssets>
</PackageReference>
Expand Down
3 changes: 2 additions & 1 deletion src/net/KNet/KNetCore.cs
Original file line number Diff line number Diff line change
Expand Up @@ -620,6 +620,7 @@ protected override IDictionary<string, string> Options
/// </summary>
public class KNetCore : KNetCore<KNetCore>
{

/// <inheritdoc cref="Parser.HelpInfo(int?)"/>
public static string HelpInfo(int? width = null) => Parser.HelpInfo(width);
}
}
2 changes: 1 addition & 1 deletion src/net/KNetCLI/KNetCLI.nuspec
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<package xmlns="http://schemas.microsoft.com/packaging/2013/05/nuspec.xsd">
<metadata>
<id>MASES.KNetCLI</id>
<version>1.4.2</version>
<version>1.4.3</version>
<title>KNetCLI - KNet command line interface</title>
<authors>MASES s.r.l.</authors>
<owners>MASES s.r.l.</owners>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,6 @@
</ItemGroup>
<ItemGroup Condition="!Exists('..\..\..\KNet\KNet.csproj')">
<!--Outside GitHub repo-->
<PackageReference Include="MASES.KNet" Version="1.4.2" IncludeAssets="All" PrivateAssets="None" />
<PackageReference Include="MASES.KNet" Version="1.4.3" IncludeAssets="All" PrivateAssets="None" />
</ItemGroup>
</Project>
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,6 @@
</ItemGroup>
<ItemGroup Condition="!Exists('..\..\..\KNet\KNet.csproj')">
<!--Outside GitHub repo-->
<PackageReference Include="MASES.KNet" Version="1.4.2" IncludeAssets="All" PrivateAssets="None" />
<PackageReference Include="MASES.KNet" Version="1.4.3" IncludeAssets="All" PrivateAssets="None" />
</ItemGroup>
</Project>
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,6 @@
</ItemGroup>
<ItemGroup Condition="!Exists('..\..\..\KNet\KNet.csproj')">
<!--Outside GitHub repo-->
<PackageReference Include="MASES.KNet" Version="1.4.2" IncludeAssets="All" PrivateAssets="None" />
<PackageReference Include="MASES.KNet" Version="1.4.3" IncludeAssets="All" PrivateAssets="None" />
</ItemGroup>
</Project>
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,6 @@
</ItemGroup>
<ItemGroup Condition="!Exists('..\..\..\KNet\KNet.csproj')">
<!--Outside GitHub repo-->
<PackageReference Include="MASES.KNet" Version="1.4.2" IncludeAssets="All" PrivateAssets="None" />
<PackageReference Include="MASES.KNet" Version="1.4.3" IncludeAssets="All" PrivateAssets="None" />
</ItemGroup>
</Project>
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,6 @@
</ItemGroup>
<ItemGroup Condition="!Exists('..\..\..\KNet\KNet.csproj')">
<!--Outside GitHub repo-->
<PackageReference Include="MASES.KNet" Version="1.4.2" IncludeAssets="All" PrivateAssets="None" />
<PackageReference Include="MASES.KNet" Version="1.4.3" IncludeAssets="All" PrivateAssets="None" />
</ItemGroup>
</Project>

0 comments on commit 00fddef

Please sign in to comment.