GithubHelp home page GithubHelp logo

sha3sha3 / ue-easykafka Goto Github PK

View Code? Open in Web Editor NEW
29.0 2.0 7.0 24.36 MB

EasyKafka is a Kafka/Redpanda client sub-system for unreal engine. It supports producing and consuming records through blueprint and C++.

Home Page: https://www.unrealengine.com/marketplace/en-US/product/client-for-kafka

License: Other

C# 5.90% C++ 71.12% C 22.98%
kafka redpanda unreal unreal-engine unreal-engine-4 unreal-engine-5 unrealengine cloud networking microservice

ue-easykafka's People

Contributors

sha3sha3 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

ue-easykafka's Issues

Installation issue - Win64

Hi,

Is it possible to add a bit more to installation instructions?

The plugin was not by default compatible with my engine (5.1) , so I compiled it using these steps: https://www.youtube.com/watch?v=sC0gnfYzFzU

If I add the suggested lines to the Build.cs the build fails without any useful info.
image

After compiling and adding the plugin into the engine, it's visible from Plugins menu, if I enable it however, I get the error.
image
image

I expected it was failing to load a dll and that seems correct, from logs I find:

[2023.04.05-09.42.48:186][  0]LogWindows: Failed to preload 'G:/Unreal/UE_5.1/Engine/Plugins/EasyKafka/Binaries/Win64/UnrealEditor-KafkaConsumer.dll' (GetLastError=126)
[2023.04.05-09.42.48:186][  0]LogWindows:   Missing import: rdkafka.dll
[2023.04.05-09.42.48:186][  0]LogWindows:   Looked in: ../../../Engine/Binaries/Win64
[2023.04.05-09.42.48:186][  0]LogWindows:   Looked in: ../../../../../MyMmoRpg/Binaries/Win64
[2023.04.05-09.42.48:186][  0]LogWindows:   Looked in: G:\MyMmoRpg\Binaries\Win64
......

searching the plugin, I can see it's present in: G:\Unreal\UE_5.1\Engine\Plugins\EasyKafka\Source\ThirdParty\KafkaLib\bin\Win64

This makes me think there's some steps missing from installation - could you advise ?

As a temporary fix, I am able to copy those dlls over to: G:\MyMmoRpg\Binaries\Win64 but this is more of a hack.
This allows me to enable the plugin and have the project load now (I will shortly test if it indeed actually works though)

however even with that, I am still not able to add:

        PrivateDependencyModuleNames.AddRange(new string[] 
        {
            "EasyKafka",
            "KafkaLib",
            "KafkaConsumer",
            "KafkaProducer"
        });

the above still does not compile

[update] even with the 'hack' above, following the suggested BP to publish kafka message leads to a crash:
image
image

(not clear if its configuration or misuse issue)

(Question) benchmarking?

Hi,

I like your work and may give it a try in my project.
I'm wondering if there is any performance benchmarking done? (latency, throughput, etc.)
Thanks!

String to struct

In your function, the consumer's receiving function can only receive fstring type. What should I do if I want to get the original message with the same byte size as the original one?

How can I include Easykafka in my own plugin?

I am developing a plugin which needs to send message to Kafka(as a producer), so I tried to include EasyKafka to complete the message sending part. However, I got some trouble when using #include "EasyKafka/Public/EasyKafkaSubsystem.h".

The editor consistantly report fatal error C1083 “EasyKafka/Public/EasyKafkaSubsystem.h”: No such file or directory.

According to the documentation, I have already add the modules in PrivateDependencyModuleNames
image
image

and also I tried to modify the .uplugin file and add the EasyKafka into plugin and addtional dependencies
image

If I made some basic mistake, please don't hesitate to tell me, since I am still a beginner in UE.

Why cannot receive message?

hi,
I use your UE plugin in my UE5.0.3 project by blueprint, but cannot get message after I registered the consumer .
And I found in blueprint node: CreateConsumer, the username and password are both null, is it right?
微信截图_20230906165546

question

Hello, may I ask if I can write this part of C++

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.