Prepare Pig's Trotter: Soak the pig's trotter in cold water overnight (8-12 hours), changing the water a couple of times. Then wash thoroughly to remove any remaining blood.
Boil with Ginger: In a large pot of boiling water, add the pig's trotter and sliced ginger. Boil for 20 minutes, then wash the trotter and the pot.
Prepare Seasoning Sack: In a hemp sack or large cheesecloth, add apple chunks, jujubes, garlic, onion, chili peppers, green onions, star anise, cinnamon stick, black pepper, and ground coffee. Tie tightly.
Braise with Seasonings: In the cleaned pot, combine the trotter, seasoning sack, 10 cups of water, fermented bean paste, cooking wine, soy sauce, brown sugar, salt, and rice syrup. Boil and then simmer until the trotter is tender and the meat falls off the bone.
Serve: Remove the trotter and seasoning sack from the pot. Serve the trotter sliced with the reduced braising liquid as a sauce.