The competing consumer http api isn't released yet but you can take a
look at it here.
https://github.com/EventStore/EventStore/tree/chrisgreghttp its
basically there but has not been tested/merged into dev. You are right
in that it will also be slower than the TCP version if for no other
reason than its a pull model where as TCP is a push model
The stuff for creating etc IS there already over http see:
protected override void SubscribeCore(IHttpService service)
{
Register(service, "/subscriptions/{stream}/{subscription}",
HttpMethod.Get, GetSubscriptionInfo, Codec.NoCodecs, DefaultCodecs);
Register(service, "/subscriptions/{stream}", HttpMethod.Get,
GetSubscriptionInfoForStream, Codec.NoCodecs, DefaultCodecs);
Register(service, "/subscriptions", HttpMethod.Get,
GetAllSubscriptionInfo, Codec.NoCodecs, DefaultCodecs);
Register(service, "/subscriptions/{stream}/{subscription}",
HttpMethod.Put, PutSubscription, DefaultCodecs, DefaultCodecs);
Register(service, "/subscriptions/{stream}/{subscription}",
HttpMethod.Post, PostSubscription, DefaultCodecs, DefaultCodecs);
RegisterUrlBased(service, "/subscriptions/{stream}/{subscription}",
HttpMethod.Delete, DeleteSubscription);
RegisterUrlBased(service,
"/subscriptions/{stream}/{subscription}/replayParked",
HttpMethod.Post, ReplayParkedMessages);
}
the jvm api does not yet have support but this is underway it is not a
huge amount of work...