New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Trying to create a simple Java example, part 2 #16
Comments
let me know if it'd be helpful to zoom or slack or something |
Hi @sgpennebaker, May I ask if your main thread has the logic waiting for other threads? If not, that will cause an issue. |
@yuhao900914 aha, thanks for the tip - in search of the simplest possible example i skipped the thread part of your example, not understanding it's purpose. so, couldn't hurt to document that, and i apologize if it IS documented and i breezed by it. i'll fix up my example to be better behaved a little later today and update this thread with what i discover. thanks! |
Will close this issue since the question got answered. Feel free to reopen or create new ticket if you need other help. |
thanks @yuhao900914, the code below is good enough for sign of life, but would be good to mention the thread requirement in the "how to" doc at https://developers.amplitude.com/docs/java. i admit i also didn't want to mess with Spring that much, just needed something simple out of the gate. thanks to you and @dantetam for the help!
|
Updates: We added the |
nope, sorry, i'm back and still failing. replaced the jar w
java-sdk-1.2.0
the code:
the IDE console looks fine.
i go and look at my test project in the Amplitude dash and the count does not increment.
i didn't mention this before but i am able to do curl:
this succeeds and the event count does increment.
if it's helpful, the client is Carbon Health and the project is SGP Test.
thanks in advance!
Originally posted by @sgpennebaker in #12 (comment)
The text was updated successfully, but these errors were encountered: