Useful new feature, GA Summer'16. I like it.
While I can successfully consume streaming api via java client, no problems, I am unable to take advantage of this new replay option with my java client.
Fine, but this thing won't even compile. The compiler is very clear about the issue:
$javac CometDReplayExtension.java CometDReplayExtension.java:35: error: cannot find symbol import org.cometd.bayeux.client.ClientSession.Extension.Adapter; ...
So to recap, the java extension provided by SFDC references this resource, but this resource is not included or linked to anywhere in SFDC docs. Fine. Maybe they missed. I believe I tracked the right resource down in the cometd jar (direct download from cometd) but even after including this resource in the proper build path I am not able to compile. Same compiler objection, unable to find symbol.
Has anyone been able to successfully implement replay using a java client? Which resource did you use for for your Adapter? SFDC does not provide one, even though their code references this resource.