James Ward

Results 246 comments of James Ward

Architecturally there are a lot of variations. In a real-world I'd use Kafka and use that as the hub. For a single-node configuration you can do something like you and...

I'm not totally understanding your architecture and what you mean by `chatId`. Can you provide more details on that?

I see. Yeah, you will have to put that state somewhere. `Map` might work but you'll have to be careful with concurrency. Ultimately this approach is only good for a...

I'm just now learning of cronet but it seems like it'd be nice to update the Android example to use it. My only concern is that it sounds like it...

We probably need to add to the README but you need to run: `../gradlew prependShellStub` Otherwise the artifacts are not runnable.

@mhd999 What operating system? Is this when running from Gradle / Maven or somehow else?

So you are doing something like: ``` protoc --plugin=protoc-gen-grpc-kotlin=build/artifacts/protoc-gen-grpc-kotlin \ --grpckt_out="$OUTPUT_FILE" --proto_path="$DIR_OF_PROTO_FILE" "$PROTO_FILE" ``` What happens if you do: ``` echo "asdf" | build/artifacts/protoc-gen-grpc-kotlin ```

Very strange. If you `less` the file you should see something like this at the top: ``` #!/bin/sh exec java -jar $0 PK^C^D ``` The `prependShellStub` task should be putting...

Odd. Did anything come after that? Also what happens if you do: ``` unzip -l build/artifacts/protoc-gen-grpc-kotlin ```

@jspc > I followed the first set of instructions Which instructions are those? Are you not using Maven or Gradle to do the protoc generation?