stackmob/scaliak — pull request #17 by kppullin (2012-12-31 01:42:04+00:00)
Title: Fix cast exception in ScaliakPbClientPool

ScaliakPbClientPool's `withClient` method expects its client pool to build instances that implement `RawClientWithStreaming`. However its pool factory, `ScaliakPbClientFactory`, merely produces a `RawClient`.

This patch modifies `ScaliakPbClientFactory` to generate `PbStreamingClients` (which implement `RawClientWithStreaming`) instead of `PbClientAdapters` to make `withClient` happy.