librdkafka-d's People
librdkafka-d's Issues
easy interface for rebalance callback
- create a easy interface to set the rebalance callback so it can be a D delegate.
- add it to the example
document examples
document each step escpecially in the vibed examples.
e.g.
- why is the
__gshared
needed - can the tasks crash, and if so what happens? how can this be made fail-safe so the app never stops / retries until the server is rechable again. (please test locally by killing of kafka)
- showcase timestamp
- document / use flag usage
RD_KAFKA_MSG_F_FREE
(if usable with D)RD_KAFKA_MSG_F_COPY
RD_KAFKA_MSG_F_BLOCK
- delivery report doable?
dmd 2.071.2-1 linking fails
consumer [master] dub build --config=application --arch=x86_64 --build=debug --compiler=dmd
Performing "debug" build using dmd for x86_64.
librdkafka 0.3.0: target for configuration "library" is up to date.
rdkafka-d ~master: target for configuration "library" is up to date.
consumer ~master: building configuration "application"...
Linking...
../../.dub/build/library-debug-linux.posix-x86_64-dmd_2071-B651453BF5E73E8303C5A8AA9DF3716A/librdkafka-d.a(topic_2ba_5b9.o): In function `_D8rdkafkad5topic14TopicPartition6__ctorMFNbNcNiPxaiZS8rdkafkad5
topic14TopicPartition':
/home/yannick/code/d/librdkafka-d/examples/consumer/../../source/rdkafkad/topic.d:44: multiple definition of `_D8rdkafkad5topic14TopicPartition6__ctorMFNbNcNiPxaiZS8rdkafkad5topic14TopicPartition'
../../.dub/build/library-debug-linux.posix-x86_64-dmd_2071-B651453BF5E73E8303C5A8AA9DF3716A/librdkafka-d.a(topic_2ba_5b9.o):../../source/rdkafkad/topic.d:(.text._D8rdkafkad5topic14TopicPartition6__ctorM
FNbNcNiPxaiZS8rdkafkad5topic14TopicPartition+0x0): first defined here
collect2: error: ld returned 1 exit status
--- errorlevel 1
dmd failed with exit code 1.
`produce` does not have timestamp
D wrapper as CPP wrapper successor uses rd_kafka_produce
instead of new variadic interface that have timestamp support.
timeout_ms default value
is there a problem with switching timeout_ms
to be the last parameter with a default for the consume
method family ?
it would remove a bit of clutter in the interface
Syntax error on windows 64 bit
On windows compiling X86_64 architecture, there are syntax errors:
dependencies/librdkafka-d/source/rdkafkad/handler/package.d(114,63): Error: function deimos.rdkafka.rd_kafka_query_watermark_offsets(rd_kafka_s* rk, const(char)* topic, int partition, __c_long* low, __c_long* high, int timeout_ms) is not callable using argument types (rd_kafka_s*, const(char), int, long, long*, int)
dependencies/librdkafka-d/source/rdkafkad/handler/package.d(114,63): cannot pass argument &low of type long* to parameter __c_long* low
dependencies/librdkafka-d/source/rdkafkad/handler/package.d(410,62): Error: function deimos.rdkafka.rd_kafka_get_watermark_offsets(rd_kafka_s* rk, const(char)* topic, int partition, __c_long* low, __c_long* high) is not callable using argument types (rd_kafka_s*, const(char), int, long, long*)
dependencies/librdkafka-d/source/rdkafkad/handler/package.d(410,62): cannot pass argument &low of type long* to parameter __c_long* low
/usr/bin/dmd failed with exit code 1.
__c_long is an alias for ddoc_long which is int on windows.
See module core.stdc.config line 31
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google โค๏ธ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.