There is no charset parameter defined for application/json. See
https://www.iana.org/assignments/media-types/application/json
The encoding should not be determined by looking at the charset parameter,
but rather by looking at the first four octets: https://tools.ietf.
org/html/rfc4627#section-3
On 05/05/17 18:42, Alex Cozzi wrote:
funny, I was looking into this yesterday!
I am by no means an expert, but I think that what it is happening is the
following:
application/json implies UTF-8: if you look at the MediaType class from
akka http you se the declaration:
I believe you are
Hi all,
Lack of type-safety in the Akka actor programming model has been lamented
for a long time. Lately, we have focused our work on Akka Typed in an
attempt to bring type-safety to the world of actors. We are excited to
share our recent progress on the new typed core APIs.
In a series of blog
I'm running my two nodes in differents terminals like below :
Terminal 1
$ export CLUSTER_IP=127.0.0.1
$ export CLUSTER_PORT=2551
$ sbt runMain WorkersApp
Terminal 2
$ export CLUSTER_IP=127.0.0.1
$ export CLUSTER_PORT=2552
$ sbt runMain WorkersApp
I'm running my Akka application using env
Your nodes are making a 'cluster' with themselves. This because they are
not getting the IP of each other.
Are you starting it like that?
docker run --name seed-1 akka-docker:2.3.4 --seed
docker run --name seed-2 akka-docker:2.3.4 --seed :2551
docker run --name node-1 akka-docker:2.3.4 :2551
funny, I was looking into this yesterday!
I am by no means an expert, but I think that what it is happening is the
following:
application/json implies UTF-8: if you look at the MediaType class from
akka http you se the declaration:
val `application/json` = awfc("json", HttpCharsets.`UTF-8`,
Hi,
my application uses a Akka cluster which has one master node and two child
seed nodes. The master node reads data from input file and sends it over to
both child nodes for evaluation (processing).
The application works fine for smaller data file eg. file with 43 rows but
when the input file
Hi Akka Team,
To prepare a deployment using docker, I try to start in my laptop a cluster
with 3 nodes : 2 nodes workers (seed-nodes) and 1 node as cluster client.
When I start the first seed node and then second one, this last is not
joining the cluster as expected. I follow the instructions
Forgot to mention, we are using play 2.4.3
Thanks
On Friday, May 5, 2017 at 3:41:33 PM UTC+5:30, Praveen Yadav wrote:
>
> Hi,
>
> We are getting - "java.lang.IllegalStateException: cannot enqueue after
> timer shutdown" at below scheduleOnce call line number when the for loop
> has many items
Hi,
We are getting - "java.lang.IllegalStateException: cannot enqueue after
timer shutdown" at below scheduleOnce call line number when the for loop
has many items and play app is under load.
We are currently refactoring the below code. But is there a possibility
that if we call
Hello,
I dont find how to set the content type to "*application/json;
charset=UTF-8*" with the *completeOKWithFuture* and Jackson marshaller.
Currently, Akka Http return the Content-Type "application/json" without
specifying the charset. So in some browsers (like Opera or Chrome) the
output
11 matches
Mail list logo